summaryrefslogtreecommitdiff
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
commitb184a3707429bea1596f8704d225b127e50cf754 (patch)
treeb081e5660921e8901d4fb5c6027441e7e485da5b
parent3e889f7041a6b663cc33e4243a4bd2fdddf39b21 (diff)
downloadllvm-b184a3707429bea1596f8704d225b127e50cf754.tar.gz
llvm-b184a3707429bea1596f8704d225b127e50cf754.tar.bz2
llvm-b184a3707429bea1596f8704d225b127e50cf754.tar.xz
Fix some obvious Doxygen comment bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208059 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/IR/BasicBlock.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/IR/BasicBlock.h b/include/llvm/IR/BasicBlock.h
index 82f7518240..a19489aa49 100644
--- a/include/llvm/IR/BasicBlock.h
+++ b/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