summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/CloneDetection.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-10-04 08:32:33 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-10-04 08:32:33 +0000
commit9ad6c429352ad1e7fd87df5265ede773d4704007 (patch)
treeadfc6fb60cb47ebb993fab4e4875f31b4907c11f /lib/Analysis/CloneDetection.cpp
parent149c4f86c32127bfe9841b87e94b097946b5c478 (diff)
Revert r283106, "Wdocumentation fix"
It should depend on r283094 and r283182. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283195 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/CloneDetection.cpp')
-rw-r--r--lib/Analysis/CloneDetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CloneDetection.cpp b/lib/Analysis/CloneDetection.cpp
index 1b43cfb274..a91ccaa4d2 100644
--- a/lib/Analysis/CloneDetection.cpp
+++ b/lib/Analysis/CloneDetection.cpp
@@ -106,7 +106,7 @@ class VariablePattern {
/// \brief Adds a new variable referenced to this pattern.
/// \param VarDecl The declaration of the variable that is referenced.
- /// \param Mention The statement in the code where the variable was referenced.
+ /// \param Range The SourceRange where this variable is referenced.
void addVariableOccurence(const VarDecl *VarDecl, SourceRange Range) {
// First check if we already reference this variable
for (size_t KindIndex = 0; KindIndex < Variables.size(); ++KindIndex) {