summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-04-21 16:06:03 +0000
committerChris Lattner <sabre@nondot.org>2005-04-21 16:06:03 +0000
commit566f600779d8c28a81bb08951ec1962fe34322ab (patch)
treea97c589c1d8e197ea30a5d6f431053101d1f69ba /lib/VMCore
parent0f67dd6237eb7227aa58e9b77cd95f354989b891 (diff)
Improve doxygen, from part of Evan's patch that didn't apply.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/BasicBlock.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp
index 65ba49a837f..1d70b00d24c 100644
--- a/lib/VMCore/BasicBlock.cpp
+++ b/lib/VMCore/BasicBlock.cpp
@@ -128,12 +128,12 @@ BasicBlock *BasicBlock::getSinglePredecessor() {
return (PI == E) ? ThePred : 0 /*multiple preds*/;
}
-// removePredecessor - This method is used to notify a BasicBlock that the
-// specified Predecessor of the block is no longer able to reach it. This is
-// actually not used to update the Predecessor list, but is actually used to
-// update the PHI nodes that reside in the block. Note that this should be
-// called while the predecessor still refers to this block.
-//
+/// removePredecessor - This method is used to notify a BasicBlock that the
+/// specified Predecessor of the block is no longer able to reach it. This is
+/// actually not used to update the Predecessor list, but is actually used to
+/// update the PHI nodes that reside in the block. Note that this should be
+/// called while the predecessor still refers to this block.
+///
void BasicBlock::removePredecessor(BasicBlock *Pred,
bool DontDeleteUselessPHIs) {
assert((hasNUsesOrMore(16)||// Reduce cost of this assertion for complex CFGs.