From a8b51c1e200a8f7f8cb274b5d8d744d94e0fdb59 Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Mon, 29 Feb 2016 07:56:00 +0000 Subject: [index] Add a caller relation for a call reference. llvm-svn: 262207 --- clang/test/Index/Core/index-source.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'clang/test/Index/Core/index-source.m') diff --git a/clang/test/Index/Core/index-source.m b/clang/test/Index/Core/index-source.m index 3307ec54393..c2604f67545 100644 --- a/clang/test/Index/Core/index-source.m +++ b/clang/test/Index/Core/index-source.m @@ -10,9 +10,11 @@ void foo(); // CHECK: [[@LINE+1]]:6 | function/C | goo | c:@F@goo | _goo | Def | rel: 0 void goo(Base *b) { - // CHECK: [[@LINE+1]]:3 | function/C | foo | c:@F@foo | _foo | Ref,Call | rel: 0 + // CHECK: [[@LINE+2]]:3 | function/C | foo | c:@F@foo | _foo | Ref,Call,RelCall | rel: 1 + // CHECK-NEXT: RelCall | goo | c:@F@goo foo(); - // CHECK: [[@LINE+2]]:6 | objc-instance-method/ObjC | meth | c:objc(cs)Base(im)meth | -[Base meth] | Ref,Call,Dyn,RelRec | rel: 1 + // CHECK: [[@LINE+3]]:6 | objc-instance-method/ObjC | meth | c:objc(cs)Base(im)meth | -[Base meth] | Ref,Call,Dyn,RelRec,RelCall | rel: 2 + // CHECK-NEXT: RelCall | goo | c:@F@goo // CHECK-NEXT: RelRec | Base | c:objc(cs)Base [b meth]; } -- cgit v1.2.3