diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-02-14 06:39:11 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2016-02-14 06:39:11 +0000 |
commit | 6fdcb9c5907f4b1c6d5a554b3e063089e8f3639f (patch) | |
tree | c66af6f676f52291c6a739e89c2defb3bfd0377c /clang/test/Index/Core/index-source.m | |
parent | 469c1367f1e1b3edfd314c18a233ef6800b727d7 (diff) | |
download | bcm5719-llvm-6fdcb9c5907f4b1c6d5a554b3e063089e8f3639f.tar.gz bcm5719-llvm-6fdcb9c5907f4b1c6d5a554b3e063089e8f3639f.zip |
[index] Enhance c-index-test tool and have it link and test the clangIndex library directly.
llvm-svn: 260842
Diffstat (limited to 'clang/test/Index/Core/index-source.m')
-rw-r--r-- | clang/test/Index/Core/index-source.m | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Index/Core/index-source.m b/clang/test/Index/Core/index-source.m new file mode 100644 index 00000000000..42c23505b1b --- /dev/null +++ b/clang/test/Index/Core/index-source.m @@ -0,0 +1,8 @@ +// RUN: c-index-test core -print-source-symbols -- %s | FileCheck %s + +@interface Base +// CHECK: [[@LINE-1]]:12 | objc-class/ObjC | Base | c:objc(cs)Base | Decl | rel: 0 +-(void)meth; +// CHECK: [[@LINE-1]]:1 | objc-instance-method/ObjC | meth | c:objc(cs)Base(im)meth | Decl/Dyn/RelChild | rel: 1 +// CHECK-NEXT: RelChild | Base | c:objc(cs)Base +@end |