From e819ff70f7e3528096569cd53bf6f38bbacabac1 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 1 Aug 2007 14:28:20 +0000 Subject: 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 --- include/llvm/Pass.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm') 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. -- cgit v1.1