aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-20 20:22:58 +0000
committerChris Lattner <sabre@nondot.org>2002-11-20 20:22:58 +0000
commitd4fd3978056928b156bc51bff7cd4eb825bffb1a (patch)
treecb580911db13b149bcbf92715b17ac56720894b9
parent900c23ced0a7635b191896d4c00fad3153dde2b7 (diff)
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
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h
index a6cefc5589..e32b106f1f 100644
--- a/include/llvm/Transforms/Utils/Cloning.h
+++ b/include/llvm/Transforms/Utils/Cloning.h
@@ -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