From: NAKAMURA Takumi Date: Fri, 7 Apr 2017 11:06:31 +0000 (+0000) Subject: CloneDetection.h: Fix warnings. [-Wdocumentation] X-Git-Tag: llvmorg-5.0.0-rc1~8237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a77d32b7af5560a407efba4c0261b0afb44d33d3;p=platform%2Fupstream%2Fllvm.git CloneDetection.h: Fix warnings. [-Wdocumentation] llvm-svn: 299760 --- diff --git a/clang/include/clang/Analysis/CloneDetection.h b/clang/include/clang/Analysis/CloneDetection.h index a433f70..3b81735 100644 --- a/clang/include/clang/Analysis/CloneDetection.h +++ b/clang/include/clang/Analysis/CloneDetection.h @@ -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 void findClones(std::vector &Result, Ts... ConstraintList) { // The initial assumption is that there is only one clone group and every