diff options
| author | Daniel Dunbar <daniel@zuster.org> | 2009-11-18 20:19:44 +0000 |
|---|---|---|
| committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-18 20:19:44 +0000 |
| commit | 9b33352856b68a4a3285c70c5c8791e7402493d0 (patch) | |
| tree | 8b66571ca8302af7d8fee925b8cf2110557dd0bf | |
| parent | 26228a0d7a65c234377255c0b19aad524da1ebab (diff) | |
| download | bcm5719-llvm-9b33352856b68a4a3285c70c5c8791e7402493d0.tar.gz bcm5719-llvm-9b33352856b68a4a3285c70c5c8791e7402493d0.zip | |
Update test to stop scanning things in the predefines buffer, this isn't adding
value.
llvm-svn: 89235
| -rw-r--r-- | clang/test/Index/TestClassDecl.m | 28 | ||||
| -rw-r--r-- | clang/test/Index/TestClassForwardDecl.m | 28 | ||||
| -rw-r--r-- | clang/test/Index/c-index-api-loadTU-test.m | 30 |
3 files changed, 43 insertions, 43 deletions
diff --git a/clang/test/Index/TestClassDecl.m b/clang/test/Index/TestClassDecl.m index 9f2d60e1907..9009f78e574 100644 --- a/clang/test/Index/TestClassDecl.m +++ b/clang/test/Index/TestClassDecl.m @@ -32,20 +32,20 @@ void function(Foo * arg) // CHECK-scan: {start_line=13 start_col=24 end_line=16 end_col=1} FunctionDecl=function:13:6 // CHECK-scan: {start_line=16 start_col=2 end_line=52 end_col=1} Invalid Cursor => NoDeclFound -// CHECK-load: <invalid loc>:0:0: TypedefDecl=__int128_t:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=__uint128_t:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:0:0: StructDecl=objc_selector:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=SEL:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:0:0: ObjCInterfaceDecl=Protocol:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=id:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=Class:0:0 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:81:16: StructDecl=__va_list_tag:81:16 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:81:42: FieldDecl=gp_offset:81:42 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:63: FieldDecl=fp_offset:81:63 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:81: FieldDecl=overflow_arg_area:81:81 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:107: FieldDecl=reg_save_area:81:107 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:123: TypedefDecl=__va_list_tag:81:123 [Context=TestClassDecl.m] -// CHECK-load: <invalid loc>:81:159: TypedefDecl=__builtin_va_list:81:159 [Context=TestClassDecl.m] + + + + + + + + + + + + + + // CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:1 [Context=TestClassDecl.m] // CHECK-load: TestClassDecl.m:13:6: FunctionDefn=function [Context=TestClassDecl.m] // CHECK-load: TestClassDecl.m:13:21: ParmDecl=arg:13:21 [Context=function] diff --git a/clang/test/Index/TestClassForwardDecl.m b/clang/test/Index/TestClassForwardDecl.m index f1c5b62479c..31b7c6c170c 100644 --- a/clang/test/Index/TestClassForwardDecl.m +++ b/clang/test/Index/TestClassForwardDecl.m @@ -27,20 +27,20 @@ void function(Foo * arg) // CHECK-scan: {start_line=10 start_col=24 end_line=13 end_col=1} FunctionDecl=function:10:6 // CHECK-scan: {start_line=13 start_col=2 end_line=46 end_col=1} Invalid Cursor => NoDeclFound -// CHECK-load: <invalid loc>:0:0: TypedefDecl=__int128_t:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=__uint128_t:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:0:0: StructDecl=objc_selector:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=SEL:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:0:0: ObjCInterfaceDecl=Protocol:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=id:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:0:0: TypedefDecl=Class:0:0 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:81:16: StructDecl=__va_list_tag:81:16 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:81:42: FieldDecl=gp_offset:81:42 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:63: FieldDecl=fp_offset:81:63 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:81: FieldDecl=overflow_arg_area:81:81 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:107: FieldDecl=reg_save_area:81:107 [Context=__va_list_tag] -// CHECK-load: <invalid loc>:81:123: TypedefDecl=__va_list_tag:81:123 [Context=TestClassForwardDecl.m] -// CHECK-load: <invalid loc>:81:159: TypedefDecl=__builtin_va_list:81:159 [Context=TestClassForwardDecl.m] + + + + + + + + + + + + + + // CHECK-load: TestClassForwardDecl.m:10:6: FunctionDefn=function [Context=TestClassForwardDecl.m] // CHECK-load: TestClassForwardDecl.m:10:21: ParmDecl=arg:10:21 [Context=function] diff --git a/clang/test/Index/c-index-api-loadTU-test.m b/clang/test/Index/c-index-api-loadTU-test.m index d5450e0c27a..7ab143546df 100644 --- a/clang/test/Index/c-index-api-loadTU-test.m +++ b/clang/test/Index/c-index-api-loadTU-test.m @@ -1,21 +1,21 @@ // RUN: clang-cc -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fblocks -emit-pch -x objective-c %s -o %t.ast // RUN: c-index-test -test-load-tu %t.ast all | FileCheck %s -// CHECK: <invalid loc>:0:0: TypedefDecl=__int128_t:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:0:0: TypedefDecl=__uint128_t:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:0:0: StructDecl=objc_selector:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:0:0: TypedefDecl=SEL:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:0:0: ObjCInterfaceDecl=Protocol:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:0:0: TypedefDecl=id:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:0:0: TypedefDecl=Class:0:0 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:81:16: StructDecl=__va_list_tag:81:16 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:81:42: FieldDecl=gp_offset:81:42 [Context=__va_list_tag] -// CHECK: <invalid loc>:81:63: FieldDecl=fp_offset:81:63 [Context=__va_list_tag] -// CHECK: <invalid loc>:81:81: FieldDecl=overflow_arg_area:81:81 [Context=__va_list_tag] -// CHECK: <invalid loc>:81:107: FieldDecl=reg_save_area:81:107 [Context=__va_list_tag] -// CHECK: <invalid loc>:81:123: TypedefDecl=__va_list_tag:81:123 [Context=c-index-api-loadTU-test.m] -// CHECK: <invalid loc>:81:159: TypedefDecl=__builtin_va_list:81:159 [Context=c-index-api-loadTU-test.m] -// + + + + + + + + + + + + + + + @interface Foo { |

