[llvm] r174492 - Remove extra blank line between closing curly brace and 'else'
Craig Topper
craig.topper at gmail.com
Tue Feb 5 22:50:39 PST 2013
Author: ctopper
Date: Wed Feb 6 00:50:38 2013
New Revision: 174492
URL: http://llvm.org/viewvc/llvm-project?rev=174492&view=rev
Log:
Remove extra blank line between closing curly brace and 'else'
Modified:
llvm/trunk/lib/IR/PassManager.cpp
Modified: llvm/trunk/lib/IR/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/PassManager.cpp?rev=174492&r1=174491&r2=174492&view=diff
==============================================================================
--- llvm/trunk/lib/IR/PassManager.cpp (original)
+++ llvm/trunk/lib/IR/PassManager.cpp Wed Feb 6 00:50:38 2013
@@ -626,8 +626,7 @@ void PMTopLevelManager::schedulePass(Pas
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(Pas
// 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");
More information about the llvm-commits
mailing list