aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-08-01 14:28:20 +0000
committerDan Gohman <gohman@apple.com>2007-08-01 14:28:20 +0000
commite819ff70f7e3528096569cd53bf6f38bbacabac1 (patch)
treeb6e18bd31fcd8e18e78228dffbc551a2291886d8 /include
parentf6a05f949f39d94d846dff9bf5093a838c6ebc4b (diff)
downloadexternal_llvm-e819ff70f7e3528096569cd53bf6f38bbacabac1.zip
external_llvm-e819ff70f7e3528096569cd53bf6f38bbacabac1.tar.gz
external_llvm-e819ff70f7e3528096569cd53bf6f38bbacabac1.tar.bz2
Make ImmutablePass::runOnModule non-virtual, since it is not
intended to be overridden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40671 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Pass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index f11c1aa..ea129e0 100644
--- 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.