r279382 - Wdocumentation fix

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 20 13:21:27 PDT 2016


Author: rksimon
Date: Sat Aug 20 15:21:27 2016
New Revision: 279382

URL: http://llvm.org/viewvc/llvm-project?rev=279382&view=rev
Log:
Wdocumentation fix

Modified:
    cfe/trunk/lib/Analysis/CloneDetection.cpp

Modified: cfe/trunk/lib/Analysis/CloneDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CloneDetection.cpp?rev=279382&r1=279381&r2=279382&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CloneDetection.cpp (original)
+++ cfe/trunk/lib/Analysis/CloneDetection.cpp Sat Aug 20 15:21:27 2016
@@ -295,7 +295,7 @@ public:
   /// \brief Collects data of the given Stmt.
   /// \param S The given statement.
   /// \param Context The ASTContext of S.
-  /// \param D The data sink to which all data is forwarded.
+  /// \param DataConsumer The data sink to which all data is forwarded.
   StmtDataCollector(const Stmt *S, ASTContext &Context, T &DataConsumer)
       : Context(Context), DataConsumer(DataConsumer) {
     this->Visit(S);
@@ -695,7 +695,7 @@ static bool areSequencesClones(const Stm
 /// \param Group A group of presumed clones. The clones are allowed to have a
 ///              different variable pattern and may not be actual clones of each
 ///              other.
-/// \param CheckVariablePatterns If true, every clone in a group that was added
+/// \param CheckVariablePattern If true, every clone in a group that was added
 ///              to the output follows the same variable pattern as the other
 ///              clones in its group.
 static void createCloneGroups(std::vector<CloneDetector::CloneGroup> &Result,




More information about the cfe-commits mailing list