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
This commit is contained in:
Dan Gohman 2007-08-01 14:28:20 +00:00
parent f6a05f949f
commit e819ff70f7

View File

@ -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.