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 | 2f43b21f37267c121040c89216a83dfd5aa898db (patch) | |
tree | caecf9cc276f143f8bc8bda8b67f6599ad83f0e3 | |
parent | a79a2b5bf23d1422eed9be3793186ebbba7532ec (diff) |
Update test to stop scanning things in the predefines buffer, this isn't adding
value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89235 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Index/TestClassDecl.m | 28 | ||||
-rw-r--r-- | test/Index/TestClassForwardDecl.m | 28 | ||||
-rw-r--r-- | test/Index/c-index-api-loadTU-test.m | 30 |
3 files changed, 43 insertions, 43 deletions
diff --git a/test/Index/TestClassDecl.m b/test/Index/TestClassDecl.m index 9f2d60e190..9009f78e57 100644 --- a/test/Index/TestClassDecl.m +++ b/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/test/Index/TestClassForwardDecl.m b/test/Index/TestClassForwardDecl.m index f1c5b62479..31b7c6c170 100644 --- a/test/Index/TestClassForwardDecl.m +++ b/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/test/Index/c-index-api-loadTU-test.m b/test/Index/c-index-api-loadTU-test.m index d5450e0c27..7ab143546d 100644 --- a/test/Index/c-index-api-loadTU-test.m +++ b/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 { |