diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2009-12-14 17:51:07 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-12-14 17:51:07 +0000 |
| commit | 6ec5119b5f41025a82356d29767d1fba927c0b1e (patch) | |
| tree | 764d3b88b14e649360ca865a0b8da7c14abf5afd | |
| parent | c749f2b62fb1436b66789df14c5290e53f033e2b (diff) | |
| download | bcm5719-llvm-6ec5119b5f41025a82356d29767d1fba927c0b1e.tar.gz bcm5719-llvm-6ec5119b5f41025a82356d29767d1fba927c0b1e.zip | |
Make tests use the new clang cc1 flag.
llvm-svn: 91300
24 files changed, 25 insertions, 25 deletions
diff --git a/clang/test/Parser/check-objc2-syntax-1.m b/clang/test/Parser/check-objc2-syntax-1.m index f596e9ba0f3..aafb2e090a6 100644 --- a/clang/test/Parser/check-objc2-syntax-1.m +++ b/clang/test/Parser/check-objc2-syntax-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @interface Subclass + (int)magicNumber; diff --git a/clang/test/Parser/check-syntax-1.m b/clang/test/Parser/check-syntax-1.m index af1b7a8b714..8ad207270c3 100644 --- a/clang/test/Parser/check-syntax-1.m +++ b/clang/test/Parser/check-syntax-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s int @interface bla ; // expected-error {{cannot combine with previous 'int' declaration specifier}} @end diff --git a/clang/test/Parser/encode.m b/clang/test/Parser/encode.m index 1e088a01151..15e9fe9828b 100644 --- a/clang/test/Parser/encode.m +++ b/clang/test/Parser/encode.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s int main(void) { const char ch = @encode(char *)[2]; diff --git a/clang/test/Parser/enhanced-proto-1.m b/clang/test/Parser/enhanced-proto-1.m index 1f42ec2efbb..b80eb7d09d8 100644 --- a/clang/test/Parser/enhanced-proto-1.m +++ b/clang/test/Parser/enhanced-proto-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @protocol MyProto1 @optional diff --git a/clang/test/Parser/expressions.m b/clang/test/Parser/expressions.m index e9e41216f98..9adc34af1fc 100644 --- a/clang/test/Parser/expressions.m +++ b/clang/test/Parser/expressions.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -parse-noop %s +// RUN: clang -cc1 -parse-noop %s void test1() { @"s"; // expected-warning {{expression result unused}} diff --git a/clang/test/Parser/method-prototype-1.m b/clang/test/Parser/method-prototype-1.m index 1d535de8c14..86a912f46eb 100644 --- a/clang/test/Parser/method-prototype-1.m +++ b/clang/test/Parser/method-prototype-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc %s -parse-noop +// RUN: clang -cc1 %s -parse-noop @interface MyObject - (void) bycopy : (int) woodo, ... ; - (void) break : (int) woodo, ... ; diff --git a/clang/test/Parser/objc-alias-printing.m b/clang/test/Parser/objc-alias-printing.m index e121bed0aea..afb522cfa3d 100644 --- a/clang/test/Parser/objc-alias-printing.m +++ b/clang/test/Parser/objc-alias-printing.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -ast-print %s +// RUN: clang -cc1 -ast-print %s @protocol P1 @end @protocol P2 @end diff --git a/clang/test/Parser/objc-category-neg-1.m b/clang/test/Parser/objc-category-neg-1.m index 6c1bd295173..957dbde2d7f 100644 --- a/clang/test/Parser/objc-category-neg-1.m +++ b/clang/test/Parser/objc-category-neg-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s void __assert_rtn(const char *, const char *, int, const char *) __attribute__((__noreturn__)); static __inline__ int __inline_isfinitef (float ) __attribute__ ((always_inline)); diff --git a/clang/test/Parser/objc-forcollection-1.m b/clang/test/Parser/objc-forcollection-1.m index 21ec308a28a..6075332dcd5 100644 --- a/clang/test/Parser/objc-forcollection-1.m +++ b/clang/test/Parser/objc-forcollection-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only %s +// RUN: clang -cc1 -fsyntax-only %s typedef struct objc_class *Class; typedef struct objc_object { diff --git a/clang/test/Parser/objc-forcollection-neg-2.m b/clang/test/Parser/objc-forcollection-neg-2.m index ddb279b6f7c..9019d441a60 100644 --- a/clang/test/Parser/objc-forcollection-neg-2.m +++ b/clang/test/Parser/objc-forcollection-neg-2.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s typedef struct objc_class *Class; typedef struct objc_object { diff --git a/clang/test/Parser/objc-forcollection-neg.m b/clang/test/Parser/objc-forcollection-neg.m index 0f2bb90df85..464759e0d17 100644 --- a/clang/test/Parser/objc-forcollection-neg.m +++ b/clang/test/Parser/objc-forcollection-neg.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s typedef struct objc_class *Class; typedef struct objc_object { diff --git a/clang/test/Parser/objc-foreach-syntax.m b/clang/test/Parser/objc-foreach-syntax.m index 977dccc88b1..294a6029378 100644 --- a/clang/test/Parser/objc-foreach-syntax.m +++ b/clang/test/Parser/objc-foreach-syntax.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s diff --git a/clang/test/Parser/objc-init.m b/clang/test/Parser/objc-init.m index bc88e33e372..b3f033ea25f 100644 --- a/clang/test/Parser/objc-init.m +++ b/clang/test/Parser/objc-init.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s -pedantic +// RUN: clang -cc1 -fsyntax-only -verify %s -pedantic // rdar://5707001 @interface NSNumber; diff --git a/clang/test/Parser/objc-interfaces.m b/clang/test/Parser/objc-interfaces.m index 7aa672901ff..fdb52e763f2 100644 --- a/clang/test/Parser/objc-interfaces.m +++ b/clang/test/Parser/objc-interfaces.m @@ -1,4 +1,4 @@ -// RUN: clang-cc %s -fsyntax-only -verify +// RUN: clang -cc1 %s -fsyntax-only -verify // Test features and error recovery for objc interfaces. diff --git a/clang/test/Parser/objc-messaging-1.m b/clang/test/Parser/objc-messaging-1.m index 4a36fc950fa..2ee3639b06c 100644 --- a/clang/test/Parser/objc-messaging-1.m +++ b/clang/test/Parser/objc-messaging-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc %s -parse-noop +// RUN: clang -cc1 %s -parse-noop int main () { int i,j; diff --git a/clang/test/Parser/objc-messaging-neg-1.m b/clang/test/Parser/objc-messaging-neg-1.m index 0344566aa87..4dcbb79a996 100644 --- a/clang/test/Parser/objc-messaging-neg-1.m +++ b/clang/test/Parser/objc-messaging-neg-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s int main() { id a; diff --git a/clang/test/Parser/objc-missing-impl.m b/clang/test/Parser/objc-missing-impl.m index 9108451f1bf..392b26f6383 100644 --- a/clang/test/Parser/objc-missing-impl.m +++ b/clang/test/Parser/objc-missing-impl.m @@ -1,2 +1,2 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @end // expected-warning {{@end must appear in an @implementation context}} diff --git a/clang/test/Parser/objc-property-syntax.m b/clang/test/Parser/objc-property-syntax.m index cf75aaa2d5a..294fb541e47 100644 --- a/clang/test/Parser/objc-property-syntax.m +++ b/clang/test/Parser/objc-property-syntax.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @interface MyClass { diff --git a/clang/test/Parser/objc-quirks.m b/clang/test/Parser/objc-quirks.m index 2913b580c5f..233739bc38d 100644 --- a/clang/test/Parser/objc-quirks.m +++ b/clang/test/Parser/objc-quirks.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s // FIXME: This is a horrible error message here. Fix. int @"s" = 5; // expected-error {{prefix attribute must be}} diff --git a/clang/test/Parser/objc-synthesized-recover.m b/clang/test/Parser/objc-synthesized-recover.m index 7de1a579422..dbe9b1d93b6 100644 --- a/clang/test/Parser/objc-synthesized-recover.m +++ b/clang/test/Parser/objc-synthesized-recover.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify %s @interface I1 { diff --git a/clang/test/Parser/objc-try-catch-1.m b/clang/test/Parser/objc-try-catch-1.m index 98c6d16ff69..25b52794a77 100644 --- a/clang/test/Parser/objc-try-catch-1.m +++ b/clang/test/Parser/objc-try-catch-1.m @@ -1,5 +1,5 @@ -// RUN: clang-cc -fsyntax-only -verify %s -// RUN: clang-cc -fsyntax-only -verify -x objective-c++ %s +// RUN: clang -cc1 -fsyntax-only -verify %s +// RUN: clang -cc1 -fsyntax-only -verify -x objective-c++ %s void * proc(); @interface NSConstantString diff --git a/clang/test/Parser/objc-type-printing.m b/clang/test/Parser/objc-type-printing.m index d9ad70474f2..e619b72ab6b 100644 --- a/clang/test/Parser/objc-type-printing.m +++ b/clang/test/Parser/objc-type-printing.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -ast-print %s +// RUN: clang -cc1 -ast-print %s @protocol P1 @end @protocol P2 @end diff --git a/clang/test/Parser/prefix-attributes.m b/clang/test/Parser/prefix-attributes.m index bb6d04da2a0..31be34076fe 100644 --- a/clang/test/Parser/prefix-attributes.m +++ b/clang/test/Parser/prefix-attributes.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -verify -fsyntax-only %s +// RUN: clang -cc1 -verify -fsyntax-only %s __attribute__((deprecated)) @class B; // expected-error {{prefix attribute must be followed by an interface or protocol}} diff --git a/clang/test/Parser/selector-1.m b/clang/test/Parser/selector-1.m index 85ef919689d..fdc74ff4b42 100644 --- a/clang/test/Parser/selector-1.m +++ b/clang/test/Parser/selector-1.m @@ -1,4 +1,4 @@ -// RUN: clang-cc -parse-noop %s +// RUN: clang -cc1 -parse-noop %s int main() { SEL s = @selector(retain); |

