summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/BasicBlock.cpp
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
commit954c64d5324ced103b6d886d7ab019cad008757c (patch)
tree7762577ae6135d69e198583b68015acca96d949f /llvm/lib/VMCore/BasicBlock.cpp
parent7ceb081f3fc6a5b3d47a37f9026eebc2740f155c (diff)
downloadbcm5719-llvm-954c64d5324ced103b6d886d7ab019cad008757c.tar.gz
bcm5719-llvm-954c64d5324ced103b6d886d7ab019cad008757c.zip
Improve doxygen, from part of Evan's patch that didn't apply.
llvm-svn: 21394
Diffstat (limited to 'llvm/lib/VMCore/BasicBlock.cpp')
-rw-r--r--llvm/lib/VMCore/BasicBlock.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/VMCore/BasicBlock.cpp b/llvm/lib/VMCore/BasicBlock.cpp
index 65ba49a837f..1d70b00d24c 100644
--- a/llvm/lib/VMCore/BasicBlock.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud