diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2018-08-26 06:27:23 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2018-08-26 06:27:23 +0000 |
commit | 7c3a12ff425ae850dc9dbbe04e181a892d06fd4d (patch) | |
tree | 5348d812a9910c250ab0c81227566f6acfce6c75 /clang/test/Index/Core/index-source.m | |
parent | 4240ecb9097e1ce7f7f4aa5194e17d18ebce359a (diff) | |
download | bcm5719-llvm-7c3a12ff425ae850dc9dbbe04e181a892d06fd4d.tar.gz bcm5719-llvm-7c3a12ff425ae850dc9dbbe04e181a892d06fd4d.zip |
[index] Introduce 'ProtocolInterface' as part of SymbolPropertySet
This is useful to directly infer that a method or property is from a protocol interface
at the point of the symbol occurrences.
llvm-svn: 340696
Diffstat (limited to 'clang/test/Index/Core/index-source.m')
-rw-r--r-- | clang/test/Index/Core/index-source.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Index/Core/index-source.m b/clang/test/Index/Core/index-source.m index c319be63ab9..ed616dbc9ae 100644 --- a/clang/test/Index/Core/index-source.m +++ b/clang/test/Index/Core/index-source.m @@ -474,12 +474,12 @@ void testImplicitProperties(ImplicitProperties *c) { @end @protocol Prot3 // CHECK: [[@LINE]]:11 | protocol/ObjC | Prot3 | [[PROT3_USR:.*]] | <no-cgname> | Decl | --(void)meth; +-(void)meth; // CHECK: [[@LINE]]:8 | instance-method(protocol)/ObjC | meth | [[PROT3_meth_USR:.*]] | -[Prot3 meth] | Decl,Dyn,RelChild | @end void test_rec1() { id<Prot3, Prot1> o1; - [o1 meth]; // CHECK: [[@LINE]]:7 | instance-method/ObjC | meth | {{.*}} | Ref,Call,Dyn,RelRec,RelCall,RelCont | rel: 3 + [o1 meth]; // CHECK: [[@LINE]]:7 | instance-method(protocol)/ObjC | meth | [[PROT3_meth_USR]] | {{.*}} | Ref,Call,Dyn,RelRec,RelCall,RelCont | rel: 3 // CHECK-NEXT: RelCall,RelCont | test_rec1 | // CHECK-NEXT: RelRec | Prot3 | [[PROT3_USR]] // CHECK-NEXT: RelRec | Prot1 | [[PROT1_USR]] |