summaryrefslogtreecommitdiffstats
path: root/test/Index/index-decls.m
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2017-02-17 04:49:41 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2017-02-17 04:49:41 +0000
commit10d35379533694245863cc2cac82fe7e1d20337b (patch)
treedef2b98f3ef1f85f33b3a38c914a158e15a3fc7e /test/Index/index-decls.m
parentd7daeac8673c957d3a933829b4b88d8cc0d46229 (diff)
[index] Improvde how we handle synthesized ObjC properties and the associated ivars.
Related synthesized properties with the ivar they use with the 'accessor' relation, and make sure we mark them 'implicit' when appropriate. Patch by Nathan Hawes! https://reviews.llvm.org/D30012 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295416 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/index-decls.m')
-rw-r--r--test/Index/index-decls.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Index/index-decls.m b/test/Index/index-decls.m
index 7f7f11576a..a5368ecb0c 100644
--- a/test/Index/index-decls.m
+++ b/test/Index/index-decls.m
@@ -64,9 +64,9 @@ int test1() {
// CHECK: [indexDeclaration]: kind: objc-instance-method | name: setProp: | {{.*}} | loc: 7:33
// CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 7:33
-// CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20
// CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 11:13 | {{.*}} | lexical-container: [I:10:17]
// CHECK: [indexDeclaration]: kind: objc-instance-method | name: setProp: | {{.*}} | loc: 11:13 | {{.*}} | lexical-container: [I:10:17]
+// CHECK: [indexDeclaration]: kind: objc-ivar | name: _prop | {{.*}} | loc: 11:20
// CHECK: [indexDeclaration]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 20:33
// CHECK: [indexEntityReference]: kind: objc-ivar | name: _auto_prop | {{.*}} | loc: 25:3