[llvm-commits] [llvm] r137174 - /llvm/trunk/lib/VMCore/BasicBlock.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Tue Aug 9 16:12:56 PDT 2011
Author: chapuni
Date: Tue Aug 9 18:12:56 2011
New Revision: 137174
URL: http://llvm.org/viewvc/llvm-project?rev=137174&view=rev
Log:
Fix whitespace.
Modified:
llvm/trunk/lib/VMCore/BasicBlock.cpp
Modified: llvm/trunk/lib/VMCore/BasicBlock.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/BasicBlock.cpp?rev=137174&r1=137173&r2=137174&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/BasicBlock.cpp (original)
+++ llvm/trunk/lib/VMCore/BasicBlock.cpp Tue Aug 9 18:12:56 2011
@@ -53,7 +53,7 @@
} else if (NewParent) {
NewParent->getBasicBlockList().push_back(this);
}
-
+
setName(Name);
}
@@ -76,7 +76,7 @@
BA->destroyConstant();
}
}
-
+
assert(getParent() == 0 && "BasicBlock still linked into the program!");
dropAllReferences();
InstList.clear();
@@ -184,8 +184,8 @@
/// getUniquePredecessor - If this basic block has a unique predecessor block,
/// return the block, otherwise return a null pointer.
-/// Note that unique predecessor doesn't mean single edge, there can be
-/// multiple edges from the unique predecessor to this block (for example
+/// Note that unique predecessor doesn't mean single edge, there can be
+/// multiple edges from the unique predecessor to this block (for example
/// a switch statement with multiple cases having the same destination).
BasicBlock *BasicBlock::getUniquePredecessor() {
pred_iterator PI = pred_begin(this), E = pred_end(this);
More information about the llvm-commits
mailing list