[llvm-commits] [llvm] r40671 - /llvm/trunk/include/llvm/Pass.h
Dan Gohman
djg at cray.com
Wed Aug 1 07:28:21 PDT 2007
Author: djg
Date: Wed Aug 1 09:28:20 2007
New Revision: 40671
URL: http://llvm.org/viewvc/llvm-project?rev=40671&view=rev
Log:
Make ImmutablePass::runOnModule non-virtual, since it is not
intended to be overridden.
Modified:
llvm/trunk/include/llvm/Pass.h
Modified: llvm/trunk/include/llvm/Pass.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Pass.h?rev=40671&r1=40670&r2=40671&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Pass.h (original)
+++ llvm/trunk/include/llvm/Pass.h Wed Aug 1 09:28:20 2007
@@ -262,7 +262,7 @@
/// 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.
More information about the llvm-commits
mailing list