]> granicus.if.org Git - clang/commitdiff
Update test to stop scanning things in the predefines buffer, this isn't adding
authorDaniel Dunbar <daniel@zuster.org>
Wed, 18 Nov 2009 20:19:44 +0000 (20:19 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 18 Nov 2009 20:19:44 +0000 (20:19 +0000)
value.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89235 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/TestClassDecl.m
test/Index/TestClassForwardDecl.m
test/Index/c-index-api-loadTU-test.m

index 9f2d60e1907073544a88ce34a0d4856925243938..9009f78e574e8df2aa7201af29300fa2b1c1a348 100644 (file)
@@ -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]
index f1c5b62479c1da09c94b8a864b28a40e24c30daa..31b7c6c170c0395a80c9962bc3b4788f118c04e0 100644 (file)
@@ -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]
 
index d5450e0c27a60bde6fbaf17116cfafa271aebf8c..7ab143546df649d50e4d8a094819b240990e2aa9 100644 (file)
@@ -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 
 {