]> granicus.if.org Git - clang/commitdiff
CloneDetection.h: Fix warnings. [-Wdocumentation]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 7 Apr 2017 11:06:31 +0000 (11:06 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 7 Apr 2017 11:06:31 +0000 (11:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299760 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/CloneDetection.h

index a433f709d2765319d96b5f631d9cd171f9a351f7..3b8173558408114283f037265ed3fcecf1e9a55a 100644 (file)
@@ -55,7 +55,7 @@ public:
   /// that describe a non-empty sub-array in the body of the given CompoundStmt.
   ///
   /// \param Stmt A CompoundStmt that contains all statements in its body.
-  /// \param Decl The Decl containing this Stmt.
+  /// \param D The Decl containing this Stmt.
   /// \param StartIndex The inclusive start index in the children array of
   ///                   \p Stmt
   /// \param EndIndex The exclusive end index in the children array of \p Stmt.
@@ -65,7 +65,7 @@ public:
   /// Constructs a StmtSequence holding a single statement.
   ///
   /// \param Stmt An arbitrary Stmt.
-  /// \param Decl The Decl containing this Stmt.
+  /// \param D The Decl containing this Stmt.
   StmtSequence(const Stmt *Stmt, const Decl *D);
 
   /// Constructs an empty StmtSequence.
@@ -202,7 +202,8 @@ public:
   /// Searches for clones in all previously passed statements.
   /// \param Result Output parameter to which all created clone groups are
   ///               added.
-  /// \param Passes The constraints that should be applied to the result.
+  /// \param ConstraintList The constraints that should be applied to the
+  //         result.
   template <typename... Ts>
   void findClones(std::vector<CloneGroup> &Result, Ts... ConstraintList) {
     // The initial assumption is that there is only one clone group and every