[cfe-commits] r89235 - in /cfe/trunk/test/Index: TestClassDecl.m TestClassForwardDecl.m c-index-api-loadTU-test.m

Daniel Dunbar daniel at zuster.org
Wed Nov 18 12:19:45 PST 2009


Author: ddunbar
Date: Wed Nov 18 14:19:44 2009
New Revision: 89235

URL: http://llvm.org/viewvc/llvm-project?rev=89235&view=rev
Log:
Update test to stop scanning things in the predefines buffer, this isn't adding
value.

Modified:
    cfe/trunk/test/Index/TestClassDecl.m
    cfe/trunk/test/Index/TestClassForwardDecl.m
    cfe/trunk/test/Index/c-index-api-loadTU-test.m

Modified: cfe/trunk/test/Index/TestClassDecl.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/TestClassDecl.m?rev=89235&r1=89234&r2=89235&view=diff

==============================================================================
--- cfe/trunk/test/Index/TestClassDecl.m (original)
+++ cfe/trunk/test/Index/TestClassDecl.m Wed Nov 18 14:19:44 2009
@@ -32,20 +32,20 @@
 // 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]

Modified: cfe/trunk/test/Index/TestClassForwardDecl.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/TestClassForwardDecl.m?rev=89235&r1=89234&r2=89235&view=diff

==============================================================================
--- cfe/trunk/test/Index/TestClassForwardDecl.m (original)
+++ cfe/trunk/test/Index/TestClassForwardDecl.m Wed Nov 18 14:19:44 2009
@@ -27,20 +27,20 @@
 // 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]
 

Modified: cfe/trunk/test/Index/c-index-api-loadTU-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/c-index-api-loadTU-test.m?rev=89235&r1=89234&r2=89235&view=diff

==============================================================================
--- cfe/trunk/test/Index/c-index-api-loadTU-test.m (original)
+++ cfe/trunk/test/Index/c-index-api-loadTU-test.m Wed Nov 18 14:19:44 2009
@@ -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 
 {





More information about the cfe-commits mailing list