[llvm] r208059 - Fix some obvious Doxygen comment bugs.

Owen Anderson resistor at mac.com
Mon May 5 22:05:59 PDT 2014


Author: resistor
Date: Tue May  6 00:05:59 2014
New Revision: 208059

URL: http://llvm.org/viewvc/llvm-project?rev=208059&view=rev
Log:
Fix some obvious Doxygen comment bugs.

Modified:
    llvm/trunk/include/llvm/IR/BasicBlock.h

Modified: llvm/trunk/include/llvm/IR/BasicBlock.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/BasicBlock.h?rev=208059&r1=208058&r2=208059&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/BasicBlock.h (original)
+++ llvm/trunk/include/llvm/IR/BasicBlock.h Tue May  6 00:05:59 2014
@@ -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





More information about the llvm-commits mailing list