Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 4030c6e

Browse files
committed
Remove doInitialization() and doFinalization() member declarations without definitions.
Visual C++ 2015 flags this in the IDE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267919 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 6af1d8f commit 4030c6e

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

lib/IR/LegacyPassManager.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -325,14 +325,6 @@ class MPPassManager : public Pass, public PMDataManager {
325325
using llvm::Pass::doInitialization;
326326
using llvm::Pass::doFinalization;
327327

328-
/// doInitialization - Run all of the initializers for the module passes.
329-
///
330-
bool doInitialization();
331-
332-
/// doFinalization - Run all of the finalizers for the module passes.
333-
///
334-
bool doFinalization();
335-
336328
/// Pass Manager itself does not invalidate any analysis info.
337329
void getAnalysisUsage(AnalysisUsage &Info) const override {
338330
Info.setPreservesAll();
@@ -423,14 +415,6 @@ class PassManagerImpl : public Pass,
423415
using llvm::Pass::doInitialization;
424416
using llvm::Pass::doFinalization;
425417

426-
/// doInitialization - Run all of the initializers for the module passes.
427-
///
428-
bool doInitialization();
429-
430-
/// doFinalization - Run all of the finalizers for the module passes.
431-
///
432-
bool doFinalization();
433-
434418
/// Pass Manager itself does not invalidate any analysis info.
435419
void getAnalysisUsage(AnalysisUsage &Info) const override {
436420
Info.setPreservesAll();

0 commit comments

Comments
 (0)