projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
900c23c
)
Cloning stuff doesn't modify the source module
author
Chris Lattner
<sabre@nondot.org>
Wed, 20 Nov 2002 20:22:58 +0000
(20:22 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 20 Nov 2002 20:22:58 +0000
(20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4787
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Transforms/Utils/Cloning.h
patch
|
blob
|
history
diff --git
a/include/llvm/Transforms/Utils/Cloning.h
b/include/llvm/Transforms/Utils/Cloning.h
index a6cefc558985f5da4acbb43164dfcbb5260367f8..e32b106f1f6636cf3427c5787c6ca4d01fb024b3 100644
(file)
--- 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