diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-03-24 02:24:46 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-03-24 02:24:46 +0000 |
commit | d7d5f0223bd30dfd618762349c6209dd1d5ea3e6 (patch) | |
tree | 3eaf71c556318c5f755f0124f122342fc04ddb64 /test/Rewriter | |
parent | f94e215e4a67e5439d56a67bbe470c7860d4b9a6 (diff) |
Rename clang to clang-cc.
Tests and drivers updated, still need to shuffle dirs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Rewriter')
31 files changed, 32 insertions, 32 deletions
diff --git a/test/Rewriter/block-test.c b/test/Rewriter/block-test.c index c65815ff9a..9b24e6323d 100644 --- a/test/Rewriter/block-test.c +++ b/test/Rewriter/block-test.c @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-blocks %s -fblocks -o - +// RUN: clang-cc -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; diff --git a/test/Rewriter/crash.m b/test/Rewriter/crash.m index 2e34850e96..d4aba58c7b 100644 --- a/test/Rewriter/crash.m +++ b/test/Rewriter/crash.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc -o - %s +// RUN: clang-cc -rewrite-objc -o - %s // rdar://5950938 @interface NSArray {} + (id)arrayWithObjects:(id)firstObj, ...; diff --git a/test/Rewriter/finally.m b/test/Rewriter/finally.m index 0d623dcc1c..bdc5a34fdf 100644 --- a/test/Rewriter/finally.m +++ b/test/Rewriter/finally.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc -verify %s -o - +// RUN: clang-cc -rewrite-objc -verify %s -o - int main() { @try { diff --git a/test/Rewriter/id-test-3.m b/test/Rewriter/id-test-3.m index 121af3e588..ad1e76decf 100644 --- a/test/Rewriter/id-test-3.m +++ b/test/Rewriter/id-test-3.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol P - (id<P>) Meth: (id<P>) Arg; diff --git a/test/Rewriter/ivar-encoding-1.m b/test/Rewriter/ivar-encoding-1.m index fb504fd04c..759146175d 100644 --- a/test/Rewriter/ivar-encoding-1.m +++ b/test/Rewriter/ivar-encoding-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface Intf { diff --git a/test/Rewriter/ivar-encoding-2.m b/test/Rewriter/ivar-encoding-2.m index a5872d4285..86cc9b6a88 100644 --- a/test/Rewriter/ivar-encoding-2.m +++ b/test/Rewriter/ivar-encoding-2.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @implementation Intf { diff --git a/test/Rewriter/metadata-test-1.m b/test/Rewriter/metadata-test-1.m index 03586c54f3..40eded121e 100644 --- a/test/Rewriter/metadata-test-1.m +++ b/test/Rewriter/metadata-test-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface Intf @end diff --git a/test/Rewriter/metadata-test-2.m b/test/Rewriter/metadata-test-2.m index 9a53bda004..ab838f18bb 100644 --- a/test/Rewriter/metadata-test-2.m +++ b/test/Rewriter/metadata-test-2.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- typedef struct _NSPoint { float x; diff --git a/test/Rewriter/method-encoding-1.m b/test/Rewriter/method-encoding-1.m index 6559c6b9bb..25dccbf750 100644 --- a/test/Rewriter/method-encoding-1.m +++ b/test/Rewriter/method-encoding-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol P1 - (void) MyProtoMeth : (int **) arg1 : (void*) arg2; diff --git a/test/Rewriter/objc-encoding-bug-1.m b/test/Rewriter/objc-encoding-bug-1.m index d294437038..684a0d2ded 100644 --- a/test/Rewriter/objc-encoding-bug-1.m +++ b/test/Rewriter/objc-encoding-bug-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- typedef struct NSMethodFrameArgInfo { struct NSMethodFrameArgInfo *subInfo; diff --git a/test/Rewriter/objc-ivar-receiver-1.m b/test/Rewriter/objc-ivar-receiver-1.m index 5a9365f376..c7ad05a188 100644 --- a/test/Rewriter/objc-ivar-receiver-1.m +++ b/test/Rewriter/objc-ivar-receiver-1.m @@ -1,5 +1,5 @@ -// RUN: clang -rewrite-objc %s -o - && -// RUN: clang -rewrite-objc %s -o - | grep 'newInv->_container' +// RUN: clang-cc -rewrite-objc %s -o - && +// RUN: clang-cc -rewrite-objc %s -o - | grep 'newInv->_container' @interface NSMutableArray - (void)addObject:(id)addObject; diff --git a/test/Rewriter/objc-string-concat-1.m b/test/Rewriter/objc-string-concat-1.m index bb3e835f6b..e8f8a88f20 100644 --- a/test/Rewriter/objc-string-concat-1.m +++ b/test/Rewriter/objc-string-concat-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @class NSString; diff --git a/test/Rewriter/objc-super-test.m b/test/Rewriter/objc-super-test.m index fd61dbee2e..500933d835 100644 --- a/test/Rewriter/objc-super-test.m +++ b/test/Rewriter/objc-super-test.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod +// RUN: clang-cc -rewrite-objc %s -o - | grep objc_msgSendSuper | grep MainMethod typedef struct objc_selector *SEL; typedef struct objc_object *id; diff --git a/test/Rewriter/objc-synchronized-1.m b/test/Rewriter/objc-synchronized-1.m index 5f8ae31d5d..e3c41165db 100644 --- a/test/Rewriter/objc-synchronized-1.m +++ b/test/Rewriter/objc-synchronized-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- id SYNCH_EXPR(); void SYNCH_BODY(); diff --git a/test/Rewriter/properties.m b/test/Rewriter/properties.m index 68ce6e97eb..ac8ee9ff8c 100644 --- a/test/Rewriter/properties.m +++ b/test/Rewriter/properties.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o - +// RUN: clang-cc -rewrite-objc %s -o - @interface Foo { int i; diff --git a/test/Rewriter/protocol-rewrite-1.m b/test/Rewriter/protocol-rewrite-1.m index 204f34a916..263a97d85d 100644 --- a/test/Rewriter/protocol-rewrite-1.m +++ b/test/Rewriter/protocol-rewrite-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- typedef struct MyWidget { int a; diff --git a/test/Rewriter/rewrite-api-bug.m b/test/Rewriter/rewrite-api-bug.m index 4d69eb0832..ba0511b646 100644 --- a/test/Rewriter/rewrite-api-bug.m +++ b/test/Rewriter/rewrite-api-bug.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface MyDerived - (void) instanceMethod; diff --git a/test/Rewriter/rewrite-foreach-1.m b/test/Rewriter/rewrite-foreach-1.m index a4e83a3bb0..eef33f88c9 100644 --- a/test/Rewriter/rewrite-foreach-1.m +++ b/test/Rewriter/rewrite-foreach-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol P @end diff --git a/test/Rewriter/rewrite-foreach-2.m b/test/Rewriter/rewrite-foreach-2.m index 8ef4e969e8..12f0e834df 100644 --- a/test/Rewriter/rewrite-foreach-2.m +++ b/test/Rewriter/rewrite-foreach-2.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol P @end diff --git a/test/Rewriter/rewrite-foreach-3.m b/test/Rewriter/rewrite-foreach-3.m index 7bb4e9b02b..3aa0d95b44 100644 --- a/test/Rewriter/rewrite-foreach-3.m +++ b/test/Rewriter/rewrite-foreach-3.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol P @end diff --git a/test/Rewriter/rewrite-foreach-4.m b/test/Rewriter/rewrite-foreach-4.m index c4d8bf6050..774f9a0b75 100644 --- a/test/Rewriter/rewrite-foreach-4.m +++ b/test/Rewriter/rewrite-foreach-4.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface MyList - (id) allKeys; diff --git a/test/Rewriter/rewrite-foreach-5.m b/test/Rewriter/rewrite-foreach-5.m index 0016da3fbe..d0d12444a3 100644 --- a/test/Rewriter/rewrite-foreach-5.m +++ b/test/Rewriter/rewrite-foreach-5.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface MyList - (id) allKeys; diff --git a/test/Rewriter/rewrite-foreach-6.m b/test/Rewriter/rewrite-foreach-6.m index 3bea346a7f..c6043bb98e 100644 --- a/test/Rewriter/rewrite-foreach-6.m +++ b/test/Rewriter/rewrite-foreach-6.m @@ -1,4 +1,4 @@ -// RUN: clang %s -rewrite-objc -o=- +// RUN: clang-cc %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 diff --git a/test/Rewriter/rewrite-nest.m b/test/Rewriter/rewrite-nest.m index 1a82935685..7a1690a363 100644 --- a/test/Rewriter/rewrite-nest.m +++ b/test/Rewriter/rewrite-nest.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface NSMapTable @end @interface NSEnumerator @end diff --git a/test/Rewriter/rewrite-protocol-type-1.m b/test/Rewriter/rewrite-protocol-type-1.m index 47610dff3a..48dc02971c 100644 --- a/test/Rewriter/rewrite-protocol-type-1.m +++ b/test/Rewriter/rewrite-protocol-type-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol MyProto1 @end diff --git a/test/Rewriter/rewrite-try-catch.m b/test/Rewriter/rewrite-try-catch.m index be0bf09158..8c6d08f2e0 100644 --- a/test/Rewriter/rewrite-try-catch.m +++ b/test/Rewriter/rewrite-try-catch.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface Foo @end @interface GARF @end diff --git a/test/Rewriter/static-type-protocol-1.m b/test/Rewriter/static-type-protocol-1.m index 4283d073b1..0985a9d775 100644 --- a/test/Rewriter/static-type-protocol-1.m +++ b/test/Rewriter/static-type-protocol-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @protocol Proto - (void) ProtoDidget; diff --git a/test/Rewriter/undecl-objc-h.m b/test/Rewriter/undecl-objc-h.m index 938a397376..b09765163e 100644 --- a/test/Rewriter/undecl-objc-h.m +++ b/test/Rewriter/undecl-objc-h.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- typedef struct S { int * pint; diff --git a/test/Rewriter/undeclared-method-1.m b/test/Rewriter/undeclared-method-1.m index 67b970508b..795fd61b4a 100644 --- a/test/Rewriter/undeclared-method-1.m +++ b/test/Rewriter/undeclared-method-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface Derived @end diff --git a/test/Rewriter/undef-field-reference-1.m b/test/Rewriter/undef-field-reference-1.m index f91345eaa1..43bc2ad8bf 100644 --- a/test/Rewriter/undef-field-reference-1.m +++ b/test/Rewriter/undef-field-reference-1.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- @interface MyDerived { diff --git a/test/Rewriter/va-method.m b/test/Rewriter/va-method.m index 00065ebb9c..3bee599435 100644 --- a/test/Rewriter/va-method.m +++ b/test/Rewriter/va-method.m @@ -1,4 +1,4 @@ -// RUN: clang -rewrite-objc %s -o=- +// RUN: clang-cc -rewrite-objc %s -o=- #include <stdarg.h> |