diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/Index/c-index-api-fn-scan.m | 18 | ||||
-rw-r--r-- | clang/test/Index/c-index-api-loadTU-test.m | 4 | ||||
-rw-r--r-- | clang/test/Index/c-index-getCursor-test.m | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/clang/test/Index/c-index-api-fn-scan.m b/clang/test/Index/c-index-api-fn-scan.m index 8cbc036a5ca..3db836ffaeb 100644 --- a/clang/test/Index/c-index-api-fn-scan.m +++ b/clang/test/Index/c-index-api-fn-scan.m @@ -116,10 +116,10 @@ int main (int argc, const char * argv[]) { // CHECK: <invalid loc>:86:2: TypedefDecl=id:0:0 [Context:id] // CHECK: <invalid loc>:86:3: TypedefDecl=id:0:0 [Context:id] // CHECK: c-index-api-fn-scan.m:86:5: VarDecl=c:86:12 [Context:c] -// CHECK: c-index-api-fn-scan.m:86:6: ObjCProtocolRef=SubP:86:12 [Context:SubP] -// CHECK: c-index-api-fn-scan.m:86:7: ObjCProtocolRef=SubP:86:12 [Context:SubP] -// CHECK: c-index-api-fn-scan.m:86:8: ObjCProtocolRef=SubP:86:12 [Context:SubP] -// CHECK: c-index-api-fn-scan.m:86:9: ObjCProtocolRef=SubP:86:12 [Context:SubP] +// CHECK: c-index-api-fn-scan.m:86:6: ObjCProtocolRef=SubP:44:1 [Context:SubP] +// CHECK: c-index-api-fn-scan.m:86:7: ObjCProtocolRef=SubP:44:1 [Context:SubP] +// CHECK: c-index-api-fn-scan.m:86:8: ObjCProtocolRef=SubP:44:1 [Context:SubP] +// CHECK: c-index-api-fn-scan.m:86:9: ObjCProtocolRef=SubP:44:1 [Context:SubP] // CHECK: c-index-api-fn-scan.m:86:10: VarDecl=c:86:12 [Context:c] // CHECK: c-index-api-fn-scan.m:86:12: VarDecl=c:86:12 [Context:c] // CHECK: c-index-api-fn-scan.m:86:13: VarDecl=c:86:12 [Context:c] @@ -138,11 +138,11 @@ int main (int argc, const char * argv[]) { // CHECK: <invalid loc>:87:2: TypedefDecl=id:0:0 [Context:id] // CHECK: <invalid loc>:87:3: TypedefDecl=id:0:0 [Context:id] // CHECK: c-index-api-fn-scan.m:87:5: VarDecl=d:87:13 [Context:d] -// CHECK: c-index-api-fn-scan.m:87:6: ObjCProtocolRef=Proto:87:13 [Context:Proto] -// CHECK: c-index-api-fn-scan.m:87:7: ObjCProtocolRef=Proto:87:13 [Context:Proto] -// CHECK: c-index-api-fn-scan.m:87:8: ObjCProtocolRef=Proto:87:13 [Context:Proto] -// CHECK: c-index-api-fn-scan.m:87:9: ObjCProtocolRef=Proto:87:13 [Context:Proto] -// CHECK: c-index-api-fn-scan.m:87:10: ObjCProtocolRef=Proto:87:13 [Context:Proto] +// CHECK: c-index-api-fn-scan.m:87:6: ObjCProtocolRef=Proto:40:1 [Context:Proto] +// CHECK: c-index-api-fn-scan.m:87:7: ObjCProtocolRef=Proto:40:1 [Context:Proto] +// CHECK: c-index-api-fn-scan.m:87:8: ObjCProtocolRef=Proto:40:1 [Context:Proto] +// CHECK: c-index-api-fn-scan.m:87:9: ObjCProtocolRef=Proto:40:1 [Context:Proto] +// CHECK: c-index-api-fn-scan.m:87:10: ObjCProtocolRef=Proto:40:1 [Context:Proto] // CHECK: c-index-api-fn-scan.m:87:11: VarDecl=d:87:13 [Context:d] // CHECK: c-index-api-fn-scan.m:87:13: VarDecl=d:87:13 [Context:d] // CHECK: c-index-api-fn-scan.m:88:2: VarRef=d:87:13 [Context:main] diff --git a/clang/test/Index/c-index-api-loadTU-test.m b/clang/test/Index/c-index-api-loadTU-test.m index a851b0ba0f3..1b2dcf4e33d 100644 --- a/clang/test/Index/c-index-api-loadTU-test.m +++ b/clang/test/Index/c-index-api-loadTU-test.m @@ -65,11 +65,11 @@ int main (int argc, const char * argv[]) { // CHECK: c-index-api-loadTU-test.m:24:1: ObjCProtocolDecl=Proto:24:1 [Context=c-index-api-loadTU-test.m] [Extent=24:1:26:4] // CHECK: c-index-api-loadTU-test.m:25:1: ObjCInstanceMethodDecl=pMethod:25:1 [Context=Proto] [Extent=25:1:25:10] // CHECK: c-index-api-loadTU-test.m:28:1: ObjCProtocolDecl=SubP:28:1 [Context=c-index-api-loadTU-test.m] [Extent=28:1:30:4] -// CHECK: c-index-api-loadTU-test.m:24:1: ObjCProtocolRef=Proto:24:1 [Context=SubP] [Extent=24:1:26:4] +// CHECK: c-index-api-loadTU-test.m:28:17: ObjCProtocolRef=Proto:24:1 [Context=SubP] [Extent=24:1:26:4] // CHECK: c-index-api-loadTU-test.m:29:1: ObjCInstanceMethodDecl=spMethod:29:1 [Context=SubP] [Extent=29:1:29:11] // CHECK: c-index-api-loadTU-test.m:32:12: ObjCInterfaceDecl=Baz:32:1 [Context=c-index-api-loadTU-test.m] [Extent=32:1:39:4] // CHECK: c-index-api-loadTU-test.m:32:18: ObjCSuperClassRef=Bar:13:1 [Context=Baz] [Extent=13:1:17:4] -// CHECK: c-index-api-loadTU-test.m:28:1: ObjCProtocolRef=SubP:28:1 [Context=Baz] [Extent=28:1:30:4] +// CHECK: c-index-api-loadTU-test.m:32:23: ObjCProtocolRef=SubP:28:1 [Context=Baz] [Extent=28:1:30:4] // CHECK: c-index-api-loadTU-test.m:34:9: ObjCIvarDecl=_anIVar:34:9 [Context=Baz] [Extent=34:9:34:15] // CHECK: c-index-api-loadTU-test.m:37:1: ObjCInstanceMethodDecl=bazMethod:37:1 [Context=Baz] [Extent=37:1:37:20] // CHECK: c-index-api-loadTU-test.m:41:1: EnumDecl=:41:1 [Context=c-index-api-loadTU-test.m] [Extent=41:1:43:1] diff --git a/clang/test/Index/c-index-getCursor-test.m b/clang/test/Index/c-index-getCursor-test.m index 0567506f231..10f905fa3f8 100644 --- a/clang/test/Index/c-index-getCursor-test.m +++ b/clang/test/Index/c-index-getCursor-test.m @@ -120,7 +120,7 @@ int main (int argc, const char * argv[]) { // CHECK: {start_line=47 start_col=2 end_line=47 end_col=3} TypedefDecl=id:0:0 // CHECK: {start_line=47 start_col=4 end_line=47 end_col=4} FunctionDefn=main:44:5 // CHECK: {start_line=47 start_col=5 end_line=47 end_col=5} VarDecl=c:47:12 -// CHECK: {start_line=47 start_col=6 end_line=47 end_col=9} ObjCProtocolRef=SubP:47:12 +// CHECK: {start_line=47 start_col=6 end_line=47 end_col=9} ObjCProtocolRef=SubP:27:1 // CHECK: {start_line=47 start_col=10 end_line=47 end_col=10} VarDecl=c:47:12 // CHECK: {start_line=47 start_col=11 end_line=47 end_col=11} FunctionDefn=main:44:5 // CHECK: {start_line=47 start_col=12 end_line=47 end_col=15} VarDecl=c:47:12 @@ -129,7 +129,7 @@ int main (int argc, const char * argv[]) { // CHECK: {start_line=48 start_col=2 end_line=48 end_col=3} TypedefDecl=id:0:0 // CHECK: {start_line=48 start_col=4 end_line=48 end_col=4} FunctionDefn=main:44:5 // CHECK: {start_line=48 start_col=5 end_line=48 end_col=5} VarDecl=d:48:13 -// CHECK: {start_line=48 start_col=6 end_line=48 end_col=10} ObjCProtocolRef=Proto:48:13 +// CHECK: {start_line=48 start_col=6 end_line=48 end_col=10} ObjCProtocolRef=Proto:23:1 // CHECK: {start_line=48 start_col=11 end_line=48 end_col=11} VarDecl=d:48:13 // CHECK: {start_line=48 start_col=12 end_line=48 end_col=12} FunctionDefn=main:44:5 // CHECK: {start_line=48 start_col=13 end_line=48 end_col=13} VarDecl=d:48:13 |