OSDN Git Service

Fix -Wdocumentation warnings from r263853
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 21 Mar 2016 22:13:44 +0000 (22:13 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 21 Mar 2016 22:13:44 +0000 (22:13 +0000)
Thanks to chapuni for catching this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263993 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64PromoteConstant.cpp

index 96e1e87..f516602 100644 (file)
@@ -143,7 +143,8 @@ private:
   /// If true, the given use is added to the list of dominated uses for
   /// the related existing point.
   /// \param NewPt the insertion point to be checked
-  /// \param Use the use to be added into the list of dominated uses
+  /// \param User the user of the constant
+  /// \param OpNo the operand number of the use
   /// \param InsertPts existing insertion points
   /// \pre NewPt and all instruction in InsertPts belong to the same function
   /// \return true if one of the insertion point in InsertPts dominates NewPt,
@@ -156,7 +157,8 @@ private:
   /// If true, the given use is added to the list of the created insertion
   /// point.
   /// \param NewPt the insertion point to be checked
-  /// \param Use the use to be added into the list of dominated uses
+  /// \param User the user of the constant
+  /// \param OpNo the operand number of the use
   /// \param InsertPts existing insertion points
   /// \pre NewPt and all instruction in InsertPts belong to the same function
   /// \pre isDominated returns false for the exact same parameters.
@@ -170,8 +172,9 @@ private:
   /// uses of value.
   /// Insertion points are group per function and each insertion point
   /// contains a list of all the uses it dominates within the related function
-  /// \param Val constant to be examined
-  /// \param[out] InsPtsPerFunc output storage of the analysis
+  /// \param User the user of the constant
+  /// \param OpNo the operand number of the constant
+  /// \param[out] InsertPts output storage of the analysis
   void computeInsertionPoint(Instruction *User, unsigned OpNo,
                              InsertionPoints &InsertPts);