Make ImmutablePass::runOnModule non-virtual, since it is not
authorDan Gohman <gohman@apple.com>
Wed, 1 Aug 2007 14:28:20 +0000 (14:28 +0000)
committerDan 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

index f11c1aa9742f21a78e99ba3918af58bd6ccfca5d..ea129e0fc364c7d483ed0ee918cb48e9416e441e 100644 (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.