projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f6a05f9
)
Make ImmutablePass::runOnModule non-virtual, since it is not
author
Dan Gohman
<gohman@apple.com>
Wed, 1 Aug 2007 14:28:20 +0000
(14:28 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 1 Aug 2007 14:28:20 +0000
(14:28 +0000)
intended to be overridden.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40671
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Pass.h
patch
|
blob
|
history
diff --git
a/include/llvm/Pass.h
b/include/llvm/Pass.h
index f11c1aa9742f21a78e99ba3918af58bd6ccfca5d..ea129e0fc364c7d483ed0ee918cb48e9416e441e 100644
(file)
--- a/
include/llvm/Pass.h
+++ b/
include/llvm/Pass.h
@@
-262,7
+262,7
@@
public:
/// ImmutablePasses are never run.
///
-
virtual
bool runOnModule(Module &M) { return false; }
+ bool runOnModule(Module &M) { return false; }
explicit ImmutablePass(intptr_t pid) : ModulePass(pid) {}
// Force out-of-line virtual method.