Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 97fe3d9

Browse files
committed
Remove extra blank line between closing curly brace and 'else'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174492 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 60309e1 commit 97fe3d9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/IR/PassManager.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
626626
Pass *AnalysisPass2 = findAnalysisPass(*I2);
627627
if (AnalysisPass2) {
628628
dbgs() << "\t" << AnalysisPass2->getPassName() << "\n";
629-
}
630-
else {
629+
} else {
631630
dbgs() << "\t" << "Error: Required pass not found! Possible causes:" << "\n";
632631
dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)" << "\n";
633632
dbgs() << "\t\t" << "- Corruption of the global PassRegistry" << "\n";
@@ -648,8 +647,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
648647
// Recheck analysis passes to ensure that required analyses that
649648
// are already checked are still available.
650649
checkAnalysis = true;
651-
}
652-
else
650+
} else
653651
// Do not schedule this analysis. Lower level analsyis
654652
// passes are run on the fly.
655653
delete AnalysisPass;
@@ -1797,8 +1795,7 @@ void PMStack::push(PMDataManager *PM) {
17971795
TPM->addIndirectPassManager(PM);
17981796
PM->setTopLevelManager(TPM);
17991797
PM->setDepth(this->top()->getDepth()+1);
1800-
}
1801-
else {
1798+
} else {
18021799
assert((PM->getPassManagerType() == PMT_ModulePassManager
18031800
|| PM->getPassManagerType() == PMT_FunctionPassManager)
18041801
&& "pushing bad pass manager to PMStack");

0 commit comments

Comments
 (0)