[cfe-commits] r91299 - /cfe/trunk/test/Rewriter/
Fariborz Jahanian
fjahanian at apple.com
Mon Dec 14 09:47:11 PST 2009
Author: fjahanian
Date: Mon Dec 14 11:47:10 2009
New Revision: 91299
URL: http://llvm.org/viewvc/llvm-project?rev=91299&view=rev
Log:
Make tests use the new clang -cc1 flag.
Modified:
cfe/trunk/test/Rewriter/block-test.c
cfe/trunk/test/Rewriter/crash.m
cfe/trunk/test/Rewriter/finally.m
cfe/trunk/test/Rewriter/id-test-3.m
cfe/trunk/test/Rewriter/ivar-encoding-1.m
cfe/trunk/test/Rewriter/ivar-encoding-2.m
cfe/trunk/test/Rewriter/metadata-test-1.m
cfe/trunk/test/Rewriter/metadata-test-2.m
cfe/trunk/test/Rewriter/method-encoding-1.m
cfe/trunk/test/Rewriter/objc-encoding-bug-1.m
cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m
cfe/trunk/test/Rewriter/objc-string-concat-1.m
cfe/trunk/test/Rewriter/objc-super-test.m
cfe/trunk/test/Rewriter/objc-synchronized-1.m
cfe/trunk/test/Rewriter/properties.m
cfe/trunk/test/Rewriter/protocol-rewrite-1.m
cfe/trunk/test/Rewriter/rewrite-api-bug.m
cfe/trunk/test/Rewriter/rewrite-foreach-1.m
cfe/trunk/test/Rewriter/rewrite-foreach-2.m
cfe/trunk/test/Rewriter/rewrite-foreach-3.m
cfe/trunk/test/Rewriter/rewrite-foreach-4.m
cfe/trunk/test/Rewriter/rewrite-foreach-5.m
cfe/trunk/test/Rewriter/rewrite-foreach-6.m
cfe/trunk/test/Rewriter/rewrite-nest.m
cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m
cfe/trunk/test/Rewriter/rewrite-try-catch.m
cfe/trunk/test/Rewriter/static-type-protocol-1.m
cfe/trunk/test/Rewriter/undecl-objc-h.m
cfe/trunk/test/Rewriter/undeclared-method-1.m
cfe/trunk/test/Rewriter/undef-field-reference-1.m
cfe/trunk/test/Rewriter/va-method.m
Modified: cfe/trunk/test/Rewriter/block-test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/block-test.c?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/block-test.c (original)
+++ cfe/trunk/test/Rewriter/block-test.c Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-blocks %s -fblocks -o -
+// RUN: clang -cc1 -rewrite-blocks %s -fblocks -o -
static int (^block)(const void *, const void *) = (int (^)(const void *, const void *))0;
static int (*func)(int (^block)(void *, void *)) = (int (*)(int (^block)(void *, void *)))0;
Modified: cfe/trunk/test/Rewriter/crash.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/crash.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/crash.m (original)
+++ cfe/trunk/test/Rewriter/crash.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc -o - %s
+// RUN: clang -cc1 -rewrite-objc -o - %s
// rdar://5950938
@interface NSArray {}
+ (id)arrayWithObjects:(id)firstObj, ...;
Modified: cfe/trunk/test/Rewriter/finally.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/finally.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/finally.m (original)
+++ cfe/trunk/test/Rewriter/finally.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc -verify %s -o -
+// RUN: clang -cc1 -rewrite-objc -verify %s -o -
int main() {
@try {
Modified: cfe/trunk/test/Rewriter/id-test-3.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/id-test-3.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/id-test-3.m (original)
+++ cfe/trunk/test/Rewriter/id-test-3.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol P
- (id<P>) Meth: (id<P>) Arg;
Modified: cfe/trunk/test/Rewriter/ivar-encoding-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/ivar-encoding-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/ivar-encoding-1.m (original)
+++ cfe/trunk/test/Rewriter/ivar-encoding-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface Intf
{
Modified: cfe/trunk/test/Rewriter/ivar-encoding-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/ivar-encoding-2.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/ivar-encoding-2.m (original)
+++ cfe/trunk/test/Rewriter/ivar-encoding-2.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@implementation Intf
{
Modified: cfe/trunk/test/Rewriter/metadata-test-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/metadata-test-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/metadata-test-1.m (original)
+++ cfe/trunk/test/Rewriter/metadata-test-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface Intf
@end
Modified: cfe/trunk/test/Rewriter/metadata-test-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/metadata-test-2.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/metadata-test-2.m (original)
+++ cfe/trunk/test/Rewriter/metadata-test-2.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
typedef struct _NSPoint {
float x;
Modified: cfe/trunk/test/Rewriter/method-encoding-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/method-encoding-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/method-encoding-1.m (original)
+++ cfe/trunk/test/Rewriter/method-encoding-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol P1
- (void) MyProtoMeth : (int **) arg1 : (void*) arg2;
Modified: cfe/trunk/test/Rewriter/objc-encoding-bug-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-encoding-bug-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-encoding-bug-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-encoding-bug-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
typedef struct NSMethodFrameArgInfo {
struct NSMethodFrameArgInfo *subInfo;
Modified: cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m Mon Dec 14 11:47:10 2009
@@ -1,5 +1,5 @@
-// RUN: clang-cc -rewrite-objc %s -o -
-// RUN: clang-cc -rewrite-objc %s -o - | grep 'newInv->_container'
+// RUN: clang -cc1 -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o - | grep 'newInv->_container'
@interface NSMutableArray
- (void)addObject:(id)addObject;
Modified: cfe/trunk/test/Rewriter/objc-string-concat-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-string-concat-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-string-concat-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-string-concat-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@class NSString;
Modified: cfe/trunk/test/Rewriter/objc-super-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-super-test.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-super-test.m (original)
+++ cfe/trunk/test/Rewriter/objc-super-test.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
+// RUN: clang -cc1 -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod
typedef struct objc_selector *SEL;
typedef struct objc_object *id;
Modified: cfe/trunk/test/Rewriter/objc-synchronized-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/objc-synchronized-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-synchronized-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-synchronized-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
id SYNCH_EXPR();
void SYNCH_BODY();
Modified: cfe/trunk/test/Rewriter/properties.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/properties.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/properties.m (original)
+++ cfe/trunk/test/Rewriter/properties.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface Foo {
int i;
Modified: cfe/trunk/test/Rewriter/protocol-rewrite-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/protocol-rewrite-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/protocol-rewrite-1.m (original)
+++ cfe/trunk/test/Rewriter/protocol-rewrite-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
typedef struct MyWidget {
int a;
Modified: cfe/trunk/test/Rewriter/rewrite-api-bug.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-api-bug.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-api-bug.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-api-bug.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface MyDerived
- (void) instanceMethod;
Modified: cfe/trunk/test/Rewriter/rewrite-foreach-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-foreach-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-1.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol P @end
Modified: cfe/trunk/test/Rewriter/rewrite-foreach-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-foreach-2.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-2.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-2.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol P @end
Modified: cfe/trunk/test/Rewriter/rewrite-foreach-3.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-foreach-3.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-3.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-3.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol P @end
Modified: cfe/trunk/test/Rewriter/rewrite-foreach-4.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-foreach-4.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-4.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-4.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface MyList
- (id) allKeys;
Modified: cfe/trunk/test/Rewriter/rewrite-foreach-5.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-foreach-5.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-5.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-5.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface MyList
- (id) allKeys;
Modified: cfe/trunk/test/Rewriter/rewrite-foreach-6.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-foreach-6.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-6.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-6.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -rewrite-objc -o -
+// RUN: clang -cc1 %s -rewrite-objc -o -
// rdar://5716356
// FIXME: Should be able to pipe into clang, but code is not
// yet correct for other reasons: rdar://5716940
Modified: cfe/trunk/test/Rewriter/rewrite-nest.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-nest.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-nest.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-nest.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface NSMapTable @end
@interface NSEnumerator @end
Modified: cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol MyProto1
@end
Modified: cfe/trunk/test/Rewriter/rewrite-try-catch.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/rewrite-try-catch.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-try-catch.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-try-catch.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface Foo @end
@interface GARF @end
Modified: cfe/trunk/test/Rewriter/static-type-protocol-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/static-type-protocol-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/static-type-protocol-1.m (original)
+++ cfe/trunk/test/Rewriter/static-type-protocol-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@protocol Proto
- (void) ProtoDidget;
Modified: cfe/trunk/test/Rewriter/undecl-objc-h.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/undecl-objc-h.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/undecl-objc-h.m (original)
+++ cfe/trunk/test/Rewriter/undecl-objc-h.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
typedef struct S {
int * pint;
Modified: cfe/trunk/test/Rewriter/undeclared-method-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/undeclared-method-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/undeclared-method-1.m (original)
+++ cfe/trunk/test/Rewriter/undeclared-method-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface Derived @end
Modified: cfe/trunk/test/Rewriter/undef-field-reference-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/undef-field-reference-1.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/undef-field-reference-1.m (original)
+++ cfe/trunk/test/Rewriter/undef-field-reference-1.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
@interface MyDerived
{
Modified: cfe/trunk/test/Rewriter/va-method.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Rewriter/va-method.m?rev=91299&r1=91298&r2=91299&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/va-method.m (original)
+++ cfe/trunk/test/Rewriter/va-method.m Mon Dec 14 11:47:10 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -rewrite-objc %s -o -
+// RUN: clang -cc1 -rewrite-objc %s -o -
#include <stdarg.h>
More information about the cfe-commits
mailing list