Cloning stuff doesn't modify the source module

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-20 20:22:58 +00:00
parent 900c23ced0
commit d4fd397805

View File

@ -22,7 +22,7 @@ class ReturnInst;
/// 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