aboutsummaryrefslogtreecommitdiff
path: root/test/Index/index-refs.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-16 02:02:14 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-16 02:02:14 +0000
commitc874ca1c7378d62aff008d74cf744636730f2db4 (patch)
tree6b3d9887c775146528ca3731758854a295404625 /test/Index/index-refs.cpp
parent348ab1ae81a1be6ab3978449b14a426205140b22 (diff)
Fix the RecursiveASTVisitor to not traverse C++ default parameters twice.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/index-refs.cpp')
-rw-r--r--test/Index/index-refs.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Index/index-refs.cpp b/test/Index/index-refs.cpp
index fa4b4b3a09..56afa08ec8 100644
--- a/test/Index/index-refs.cpp
+++ b/test/Index/index-refs.cpp
@@ -107,3 +107,4 @@ void foo4(int p = default_param);
// CHECK: [indexEntityReference]: kind: variable | name: array_size | {{.*}} | loc: 59:22
// CHECK: [indexEntityReference]: kind: variable | name: default_param | {{.*}} | loc: 62:19
+// CHECK-NOT: [indexEntityReference]: kind: variable | name: default_param | {{.*}} | loc: 62:19