[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Cloning.h

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 20 14:24:00 PST 2002


Changes in directory llvm/include/llvm/Transforms/Utils:

Cloning.h updated: 1.3 -> 1.4

---
Log message:

Cloning stuff doesn't modify the source module


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/Utils/Cloning.h
diff -u llvm/include/llvm/Transforms/Utils/Cloning.h:1.3 llvm/include/llvm/Transforms/Utils/Cloning.h:1.4
--- llvm/include/llvm/Transforms/Utils/Cloning.h:1.3	Tue Nov 19 16:53:58 2002
+++ llvm/include/llvm/Transforms/Utils/Cloning.h	Wed Nov 20 14:22:58 2002
@@ -22,7 +22,7 @@
 
 /// CloneModule - Return an exact copy of the specified module
 ///
-Module *CloneModule(Module *M);
+Module *CloneModule(const Module *M);
 
 /// CloneFunction - Return a copy of the specified function, but without
 /// embedding the function into another module.  Also, any references specified





More information about the llvm-commits mailing list