summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2014-05-06 05:05:59 +0000
committerOwen Anderson <resistor@mac.com>2014-05-06 05:05:59 +0000
commit4cf4e664c20ee6ae3e97653c55045e80acbe6789 (patch)
treee82afa88025543c7cbc06d861d00d7f31d823ee1
parent6076bf4edb3e105ba5777a33283c41e91b337ca7 (diff)
downloadbcm5719-llvm-4cf4e664c20ee6ae3e97653c55045e80acbe6789.tar.gz
bcm5719-llvm-4cf4e664c20ee6ae3e97653c55045e80acbe6789.zip
Fix some obvious Doxygen comment bugs.
llvm-svn: 208059
-rw-r--r--llvm/include/llvm/IR/BasicBlock.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/IR/BasicBlock.h b/llvm/include/llvm/IR/BasicBlock.h
index 82f75182406..a19489aa49b 100644
--- a/llvm/include/llvm/IR/BasicBlock.h
+++ b/llvm/include/llvm/IR/BasicBlock.h
@@ -174,14 +174,15 @@ public:
void moveAfter(BasicBlock *MovePos);
- /// \brief Return this block if it has a single predecessor block. Otherwise
- /// return a null pointer.
+ /// \brief Return the predecessor of this block if it has a single predecessor
+ /// block. Otherwise return a null pointer.
BasicBlock *getSinglePredecessor();
const BasicBlock *getSinglePredecessor() const {
return const_cast<BasicBlock*>(this)->getSinglePredecessor();
}
- /// \brief Return this block if it has a unique predecessor block. Otherwise return a null pointer.
+ /// \brief Return the predecessor of this block if it has a unique predecessor
+ /// 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 a
OpenPOWER on IntegriCloud