From: NAKAMURA Takumi Date: Fri, 7 Apr 2017 11:06:31 +0000 (+0000) Subject: CloneDetection.h: Fix warnings. [-Wdocumentation] X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8567c2d9e717e928d6ae8b9145001cd36c23f873;p=clang CloneDetection.h: Fix warnings. [-Wdocumentation] git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299760 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/CloneDetection.h b/include/clang/Analysis/CloneDetection.h index a433f709d2..3b81735584 100644 --- a/include/clang/Analysis/CloneDetection.h +++ b/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