summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-08-20 20:21:27 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-08-20 20:21:27 +0000
commite62d0da8cc69a2c24bdaf1cd7af3194335977c24 (patch)
tree0e0a98791c3974c6b5b168de8096d47d6b43f3e5
parent02b13d4d3cf1b2ef3cd5b4af16fb96057a454662 (diff)
downloadbcm5719-llvm-e62d0da8cc69a2c24bdaf1cd7af3194335977c24.tar.gz
bcm5719-llvm-e62d0da8cc69a2c24bdaf1cd7af3194335977c24.zip
Wdocumentation fix
llvm-svn: 279382
-rw-r--r--clang/lib/Analysis/CloneDetection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CloneDetection.cpp b/clang/lib/Analysis/CloneDetection.cpp
index c331ddc25b1..9d11dabf964 100644
--- a/clang/lib/Analysis/CloneDetection.cpp
+++ b/clang/lib/Analysis/CloneDetection.cpp
@@ -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 StmtSequence &LHS,
/// \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,
OpenPOWER on IntegriCloud