From: Dan Gohman Date: Wed, 1 Aug 2007 14:28:20 +0000 (+0000) Subject: Make ImmutablePass::runOnModule non-virtual, since it is not X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e819ff70f7e3528096569cd53bf6f38bbacabac1;p=oota-llvm.git 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 --- diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index f11c1aa9742..ea129e0fc36 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.