Bug in Cloning.h?

Hi all,

unless I overlook something, the second version of CloneFunction()
(from http://llvm.org/doxygen/Cloning_8h_source.html):

00114 Function *CloneFunction(const Function *F,
00115 ValueToValueMapTy &VMap,
00116 bool ModuleLevelChanges,
00117 ClonedCodeInfo *CodeInfo = 0);
00118
00119 /// CloneFunction - Version of the function that doesn't need the VMap.
00120 ///
00121 inline Function *CloneFunction(const Function *F, ClonedCodeInfo *CodeInfo = 0){
00122 ValueToValueMapTy VMap;
00123 return CloneFunction(F, VMap, CodeInfo);
00124 }

seems to pass the pointer argument CodeInfo as boolean ModuleLevelChanges
to the first one never filling CodeInfo with data.

Sincerely,
Mario