[llvm] r187336 - Fix -Wdocumentation warnings.

Rafael Espindola rafael.espindola at gmail.com
Sun Jul 28 16:43:28 PDT 2013


Author: rafael
Date: Sun Jul 28 18:43:28 2013
New Revision: 187336

URL: http://llvm.org/viewvc/llvm-project?rev=187336&view=rev
Log:
Fix -Wdocumentation warnings.

Modified:
    llvm/trunk/include/llvm/ADT/IntervalMap.h
    llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp

Modified: llvm/trunk/include/llvm/ADT/IntervalMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/IntervalMap.h?rev=187336&r1=187335&r2=187336&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/IntervalMap.h (original)
+++ llvm/trunk/include/llvm/ADT/IntervalMap.h Sun Jul 28 18:43:28 2013
@@ -612,7 +612,7 @@ public:
 /// insertFrom - Add mapping of [a;b] to y if possible, coalescing as much as
 /// possible. This may cause the node to grow by 1, or it may cause the node
 /// to shrink because of coalescing.
-/// @param i    Starting index = insertFrom(0, size, a)
+/// @param Pos  Starting index = insertFrom(0, size, a)
 /// @param Size Number of elements in node.
 /// @param a    Interval start.
 /// @param b    Interval stop.
@@ -1956,7 +1956,7 @@ iterator::eraseNode(unsigned Level) {
 /// overflow - Distribute entries of the current node evenly among
 /// its siblings and ensure that the current node is not full.
 /// This may require allocating a new node.
-/// @param NodeT The type of node at Level (Leaf or Branch).
+/// @tparam NodeT The type of node at Level (Leaf or Branch).
 /// @param Level path index of the overflowing node.
 /// @return True when the tree height was changed.
 template <typename KeyT, typename ValT, unsigned N, typename Traits>

Modified: llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp?rev=187336&r1=187335&r2=187336&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp Sun Jul 28 18:43:28 2013
@@ -120,10 +120,10 @@ class SimplifyCFGOpt {
   /// the if-region with an adjacent if-region upstream if two if-regions
   /// contain identical instructions.
   bool MergeIfRegion(BasicBlock *BB, IRBuilder<> &Builder, Pass *P = 0);
-  /// \brief Compare a pair of blocks: \param Block1 and \param Block2, which
-  /// are from two if-regions whose entry blocks are \param Head1 and \param
-  /// Head2.  \returns true if \param Block1 and \param Block2 contain identical
-  /// instructions, and have no memory reference alias with \param Head2.
+  /// \brief Compare a pair of blocks: \p Block1 and \p Block2, which
+  /// are from two if-regions whose entry blocks are \p Head1 and \p
+  /// Head2.  \returns true if \p Block1 and \p Block2 contain identical
+  /// instructions, and have no memory reference alias with \p Head2.
   /// This is used as a legality check for merging if-regions.
   bool CompareIfRegionBlock(BasicBlock *Head1, BasicBlock *Head2,
                             BasicBlock *Block1, BasicBlock *Block2);





More information about the llvm-commits mailing list