aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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