summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-06 19:08:57 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-05-06 19:08:57 +0000
commitfe6a01253e96c04e3d45c0dc41e5ca711039d81a (patch)
tree1c049e9c495dd0b4307444523894cf691005b9cb /clang/test
parent14b74fd1534ad271bb72276beb781bef195f9efe (diff)
downloadbcm5719-llvm-fe6a01253e96c04e3d45c0dc41e5ca711039d81a.tar.gz
bcm5719-llvm-fe6a01253e96c04e3d45c0dc41e5ca711039d81a.zip
Have the RecursiveASTVisitor traverse the type source info of an objc class message.
llvm-svn: 181237
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Index/index-refs.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Index/index-refs.m b/clang/test/Index/index-refs.m
index b82345f9c68..f25013b882f 100644
--- a/clang/test/Index/index-refs.m
+++ b/clang/test/Index/index-refs.m
@@ -13,6 +13,15 @@ void foo() {
@encode(struct FooS);
}
+@interface I
++(void)clsMeth;
+@end
+
+void foo2() {
+ [I clsMeth];
+}
+
// RUN: c-index-test -index-file %s | FileCheck %s
// CHECK: [indexEntityReference]: kind: objc-protocol | name: Prot | {{.*}} | loc: 12:27
// CHECK: [indexEntityReference]: kind: struct | name: FooS | {{.*}} | loc: 13:18
+// CHECK: [indexEntityReference]: kind: objc-class | name: I | {{.*}} | loc: 21:4
OpenPOWER on IntegriCloud