From d4fd3978056928b156bc51bff7cd4eb825bffb1a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 20 Nov 2002 20:22:58 +0000 Subject: [PATCH] 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 --- include/llvm/Transforms/Utils/Cloning.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Transforms/Utils/Cloning.h b/include/llvm/Transforms/Utils/Cloning.h index a6cefc55898..e32b106f1f6 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 -- 2.34.1