aboutsummaryrefslogtreecommitdiff
path: root/lib/IR/PassManager.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-02-06 06:50:38 +0000
committerCraig Topper <craig.topper@gmail.com>2013-02-06 06:50:38 +0000
commit97fe3d95110db54908527e547187b3007185e46c (patch)
treef223af497728b986b0c9babbcdd4b208988e36d8 /lib/IR/PassManager.cpp
parent60309e17a3a86756f7a1bbaca409159733586f2d (diff)
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
Diffstat (limited to 'lib/IR/PassManager.cpp')
-rw-r--r--lib/IR/PassManager.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/IR/PassManager.cpp b/lib/IR/PassManager.cpp
index 4f7984e088..2bdfd988fa 100644
--- a/lib/IR/PassManager.cpp
+++ b/lib/IR/PassManager.cpp
@@ -626,8 +626,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
Pass *AnalysisPass2 = findAnalysisPass(*I2);
if (AnalysisPass2) {
dbgs() << "\t" << AnalysisPass2->getPassName() << "\n";
- }
- else {
+ } else {
dbgs() << "\t" << "Error: Required pass not found! Possible causes:" << "\n";
dbgs() << "\t\t" << "- Pass misconfiguration (e.g.: missing macros)" << "\n";
dbgs() << "\t\t" << "- Corruption of the global PassRegistry" << "\n";
@@ -648,8 +647,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
// Recheck analysis passes to ensure that required analyses that
// are already checked are still available.
checkAnalysis = true;
- }
- else
+ } else
// Do not schedule this analysis. Lower level analsyis
// passes are run on the fly.
delete AnalysisPass;
@@ -1797,8 +1795,7 @@ void PMStack::push(PMDataManager *PM) {
TPM->addIndirectPassManager(PM);
PM->setTopLevelManager(TPM);
PM->setDepth(this->top()->getDepth()+1);
- }
- else {
+ } else {
assert((PM->getPassManagerType() == PMT_ModulePassManager
|| PM->getPassManagerType() == PMT_FunctionPassManager)
&& "pushing bad pass manager to PMStack");