diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-14 08:32:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-14 08:32:24 +0000 |
commit | 98c07e0e23890298775d3cf3a935066bba4fb57b (patch) | |
tree | 21079de51f3766cf7ed0351d8aca1a1b472bcd49 /clang/test/Index/TestClassDecl.m | |
parent | 20499331968864153e040e286b3d81c218c23f32 (diff) | |
download | bcm5719-llvm-98c07e0e23890298775d3cf3a935066bba4fb57b.tar.gz bcm5719-llvm-98c07e0e23890298775d3cf3a935066bba4fb57b.zip |
c-index-test: Unify syntax for printing extents. Yes, there were 4.
llvm-svn: 96158
Diffstat (limited to 'clang/test/Index/TestClassDecl.m')
-rw-r--r-- | clang/test/Index/TestClassDecl.m | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/clang/test/Index/TestClassDecl.m b/clang/test/Index/TestClassDecl.m index ab70f7731e1..32d4d4c6684 100644 --- a/clang/test/Index/TestClassDecl.m +++ b/clang/test/Index/TestClassDecl.m @@ -15,19 +15,19 @@ void function(Foo * arg) // nothing here. } -// CHECK-scan: {start_line=1 start_col=1 end_line=7 end_col=1} Invalid Cursor => NoDeclFound -// CHECK-scan: {start_line=8 start_col=1 end_line=8 end_col=7} UnexposedDecl=:8:1 -// CHECK-scan: {start_line=8 start_col=8 end_line=8 end_col=10} ObjCClassRef=Foo:10:12 -// CHECK-scan: {start_line=8 start_col=11 end_line=9 end_col=1} Invalid Cursor => NoDeclFound -// CHECK-scan: {start_line=10 start_col=1 end_line=11 end_col=4} ObjCInterfaceDecl=Foo:10:12 -// CHECK-scan: {start_line=11 start_col=5 end_line=13 end_col=5} Invalid Cursor => NoDeclFound -// CHECK-scan: {start_line=13 start_col=6 end_line=13 end_col=14} FunctionDecl=function:13:6 (Definition) -// CHECK-scan: {start_line=13 start_col=15 end_line=13 end_col=17} ObjCClassRef=Foo:10:12 -// CHECK-scan: {start_line=13 start_col=18 end_line=13 end_col=23} ParmDecl=arg:13:21 (Definition) -// CHECK-scan: {start_line=13 start_col=24 end_line=13 end_col=25} FunctionDecl=function:13:6 (Definition) -// CHECK-scan: {start_line=14 start_col=1 end_line=16 end_col=1} UnexposedStmt= +// CHECK-scan: [1:1 - 7:1] Invalid Cursor => NoDeclFound +// CHECK-scan: [8:1 - 8:7] UnexposedDecl=:8:1 +// CHECK-scan: [8:8 - 8:10] ObjCClassRef=Foo:10:12 +// CHECK-scan: [8:11 - 9:1] Invalid Cursor => NoDeclFound +// CHECK-scan: [10:1 - 11:4] ObjCInterfaceDecl=Foo:10:12 +// CHECK-scan: [11:5 - 13:5] Invalid Cursor => NoDeclFound +// CHECK-scan: [13:6 - 13:14] FunctionDecl=function:13:6 (Definition) +// CHECK-scan: [13:15 - 13:17] ObjCClassRef=Foo:10:12 +// CHECK-scan: [13:18 - 13:23] ParmDecl=arg:13:21 (Definition) +// CHECK-scan: [13:24 - 13:25] FunctionDecl=function:13:6 (Definition) +// CHECK-scan: [14:1 - 16:1] UnexposedStmt= -// CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:12 [Extent=10:1:11:4] -// CHECK-load: TestClassDecl.m:13:6: FunctionDecl=function:13:6 (Definition) [Extent=13:6:16:1] -// CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 (Definition) [Extent=13:15:13:23] +// CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:12 Extent=[10:1 - 11:4] +// CHECK-load: TestClassDecl.m:13:6: FunctionDecl=function:13:6 (Definition) Extent=[13:6 - 16:1] +// CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 (Definition) Extent=[13:15 - 13:23] |