[llvm] r267919 - Remove doInitialization() and doFinalization() member declarations without definitions.
Yaron Keren via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 28 12:21:31 PDT 2016
Author: yrnkrn
Date: Thu Apr 28 14:21:30 2016
New Revision: 267919
URL: http://llvm.org/viewvc/llvm-project?rev=267919&view=rev
Log:
Remove doInitialization() and doFinalization() member declarations without definitions.
Visual C++ 2015 flags this in the IDE.
Modified:
llvm/trunk/lib/IR/LegacyPassManager.cpp
Modified: llvm/trunk/lib/IR/LegacyPassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LegacyPassManager.cpp?rev=267919&r1=267918&r2=267919&view=diff
==============================================================================
--- llvm/trunk/lib/IR/LegacyPassManager.cpp (original)
+++ llvm/trunk/lib/IR/LegacyPassManager.cpp Thu Apr 28 14:21:30 2016
@@ -325,14 +325,6 @@ public:
using llvm::Pass::doInitialization;
using llvm::Pass::doFinalization;
- /// doInitialization - Run all of the initializers for the module passes.
- ///
- bool doInitialization();
-
- /// doFinalization - Run all of the finalizers for the module passes.
- ///
- bool doFinalization();
-
/// Pass Manager itself does not invalidate any analysis info.
void getAnalysisUsage(AnalysisUsage &Info) const override {
Info.setPreservesAll();
@@ -423,14 +415,6 @@ public:
using llvm::Pass::doInitialization;
using llvm::Pass::doFinalization;
- /// doInitialization - Run all of the initializers for the module passes.
- ///
- bool doInitialization();
-
- /// doFinalization - Run all of the finalizers for the module passes.
- ///
- bool doFinalization();
-
/// Pass Manager itself does not invalidate any analysis info.
void getAnalysisUsage(AnalysisUsage &Info) const override {
Info.setPreservesAll();
More information about the llvm-commits
mailing list