summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/CloneDetection.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2016-10-03 12:37:08 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2016-10-03 12:37:08 +0000
commit35613b69716800cec4003c5a29239241fb1012c3 (patch)
treed1207538af50689e43aa0d7616d23c29b87297c5 /lib/Analysis/CloneDetection.cpp
parent549741a3bcb6006a7afb39f048f7a202c35e66ae (diff)
Wdocumentation fix
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283106 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 dba89eca1f..4fdac5abbd 100644
--- a/lib/Analysis/CloneDetection.cpp
+++ b/lib/Analysis/CloneDetection.cpp
@@ -110,7 +110,7 @@ class VariablePattern {
/// \brief Adds a new variable referenced to this pattern.
/// \param VarDecl The declaration of the variable that is referenced.
- /// \param Range The SourceRange where this variable is referenced.
+ /// \param Mention The statement in the code where the variable was referenced.
void addVariableOccurence(const VarDecl *VarDecl, const Stmt *Mention) {
// First check if we already reference this variable
for (size_t KindIndex = 0; KindIndex < Variables.size(); ++KindIndex) {