[cfe-commits] r91300 - in /cfe/trunk/test/Parser: check-objc2-syntax-1.m check-syntax-1.m encode.m enhanced-proto-1.m expressions.m method-prototype-1.m objc-alias-printing.m objc-category-neg-1.m objc-forcollection-1.m objc-forcollection-neg-2.m objc-forcollection-neg.m objc-foreach-syntax.m objc-init.m objc-interfaces.m objc-messaging-1.m objc-messaging-neg-1.m objc-missing-impl.m objc-property-syntax.m objc-quirks.m objc-synthesized-recover.m objc-try-catch-1.m objc-type-printing.m prefix-attributes.m selector-1.m
Fariborz Jahanian
fjahanian at apple.com
Mon Dec 14 09:51:08 PST 2009
Author: fjahanian
Date: Mon Dec 14 11:51:07 2009
New Revision: 91300
URL: http://llvm.org/viewvc/llvm-project?rev=91300&view=rev
Log:
Make tests use the new clang cc1 flag.
Modified:
cfe/trunk/test/Parser/check-objc2-syntax-1.m
cfe/trunk/test/Parser/check-syntax-1.m
cfe/trunk/test/Parser/encode.m
cfe/trunk/test/Parser/enhanced-proto-1.m
cfe/trunk/test/Parser/expressions.m
cfe/trunk/test/Parser/method-prototype-1.m
cfe/trunk/test/Parser/objc-alias-printing.m
cfe/trunk/test/Parser/objc-category-neg-1.m
cfe/trunk/test/Parser/objc-forcollection-1.m
cfe/trunk/test/Parser/objc-forcollection-neg-2.m
cfe/trunk/test/Parser/objc-forcollection-neg.m
cfe/trunk/test/Parser/objc-foreach-syntax.m
cfe/trunk/test/Parser/objc-init.m
cfe/trunk/test/Parser/objc-interfaces.m
cfe/trunk/test/Parser/objc-messaging-1.m
cfe/trunk/test/Parser/objc-messaging-neg-1.m
cfe/trunk/test/Parser/objc-missing-impl.m
cfe/trunk/test/Parser/objc-property-syntax.m
cfe/trunk/test/Parser/objc-quirks.m
cfe/trunk/test/Parser/objc-synthesized-recover.m
cfe/trunk/test/Parser/objc-try-catch-1.m
cfe/trunk/test/Parser/objc-type-printing.m
cfe/trunk/test/Parser/prefix-attributes.m
cfe/trunk/test/Parser/selector-1.m
Modified: cfe/trunk/test/Parser/check-objc2-syntax-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/check-objc2-syntax-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/check-objc2-syntax-1.m (original)
+++ cfe/trunk/test/Parser/check-objc2-syntax-1.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface Subclass
+ (int)magicNumber;
Modified: cfe/trunk/test/Parser/check-syntax-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/check-syntax-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/check-syntax-1.m (original)
+++ cfe/trunk/test/Parser/check-syntax-1.m Mon Dec 14 11:51:07 2009
@@ -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
Modified: cfe/trunk/test/Parser/encode.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/encode.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/encode.m (original)
+++ cfe/trunk/test/Parser/encode.m Mon Dec 14 11:51:07 2009
@@ -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];
Modified: cfe/trunk/test/Parser/enhanced-proto-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/enhanced-proto-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/enhanced-proto-1.m (original)
+++ cfe/trunk/test/Parser/enhanced-proto-1.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@protocol MyProto1
@optional
Modified: cfe/trunk/test/Parser/expressions.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/expressions.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/expressions.m (original)
+++ cfe/trunk/test/Parser/expressions.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -parse-noop %s
+// RUN: clang -cc1 -parse-noop %s
void test1() {
@"s"; // expected-warning {{expression result unused}}
Modified: cfe/trunk/test/Parser/method-prototype-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/method-prototype-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/method-prototype-1.m (original)
+++ cfe/trunk/test/Parser/method-prototype-1.m Mon Dec 14 11:51:07 2009
@@ -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, ... ;
Modified: cfe/trunk/test/Parser/objc-alias-printing.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-alias-printing.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-alias-printing.m (original)
+++ cfe/trunk/test/Parser/objc-alias-printing.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s
+// RUN: clang -cc1 -ast-print %s
@protocol P1 @end
@protocol P2 @end
Modified: cfe/trunk/test/Parser/objc-category-neg-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-category-neg-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-category-neg-1.m (original)
+++ cfe/trunk/test/Parser/objc-category-neg-1.m Mon Dec 14 11:51:07 2009
@@ -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));
Modified: cfe/trunk/test/Parser/objc-forcollection-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-forcollection-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-forcollection-1.m (original)
+++ cfe/trunk/test/Parser/objc-forcollection-1.m Mon Dec 14 11:51:07 2009
@@ -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 {
Modified: cfe/trunk/test/Parser/objc-forcollection-neg-2.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-forcollection-neg-2.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-forcollection-neg-2.m (original)
+++ cfe/trunk/test/Parser/objc-forcollection-neg-2.m Mon Dec 14 11:51:07 2009
@@ -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 {
Modified: cfe/trunk/test/Parser/objc-forcollection-neg.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-forcollection-neg.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-forcollection-neg.m (original)
+++ cfe/trunk/test/Parser/objc-forcollection-neg.m Mon Dec 14 11:51:07 2009
@@ -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 {
Modified: cfe/trunk/test/Parser/objc-foreach-syntax.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-foreach-syntax.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-foreach-syntax.m (original)
+++ cfe/trunk/test/Parser/objc-foreach-syntax.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
Modified: cfe/trunk/test/Parser/objc-init.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-init.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-init.m (original)
+++ cfe/trunk/test/Parser/objc-init.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s -pedantic
+// RUN: clang -cc1 -fsyntax-only -verify %s -pedantic
// rdar://5707001
@interface NSNumber;
Modified: cfe/trunk/test/Parser/objc-interfaces.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-interfaces.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-interfaces.m (original)
+++ cfe/trunk/test/Parser/objc-interfaces.m Mon Dec 14 11:51:07 2009
@@ -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.
Modified: cfe/trunk/test/Parser/objc-messaging-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-messaging-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-messaging-1.m (original)
+++ cfe/trunk/test/Parser/objc-messaging-1.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -parse-noop
+// RUN: clang -cc1 %s -parse-noop
int main ()
{
int i,j;
Modified: cfe/trunk/test/Parser/objc-messaging-neg-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-messaging-neg-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-messaging-neg-1.m (original)
+++ cfe/trunk/test/Parser/objc-messaging-neg-1.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
int main() {
id a;
Modified: cfe/trunk/test/Parser/objc-missing-impl.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-missing-impl.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-missing-impl.m (original)
+++ cfe/trunk/test/Parser/objc-missing-impl.m Mon Dec 14 11:51:07 2009
@@ -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}}
Modified: cfe/trunk/test/Parser/objc-property-syntax.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-property-syntax.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-property-syntax.m (original)
+++ cfe/trunk/test/Parser/objc-property-syntax.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface MyClass {
Modified: cfe/trunk/test/Parser/objc-quirks.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-quirks.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-quirks.m (original)
+++ cfe/trunk/test/Parser/objc-quirks.m Mon Dec 14 11:51:07 2009
@@ -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}}
Modified: cfe/trunk/test/Parser/objc-synthesized-recover.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-synthesized-recover.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-synthesized-recover.m (original)
+++ cfe/trunk/test/Parser/objc-synthesized-recover.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -fsyntax-only -verify %s
+// RUN: clang -cc1 -fsyntax-only -verify %s
@interface I1
{
Modified: cfe/trunk/test/Parser/objc-try-catch-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-try-catch-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-try-catch-1.m (original)
+++ cfe/trunk/test/Parser/objc-try-catch-1.m Mon Dec 14 11:51:07 2009
@@ -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
Modified: cfe/trunk/test/Parser/objc-type-printing.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/objc-type-printing.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/objc-type-printing.m (original)
+++ cfe/trunk/test/Parser/objc-type-printing.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -ast-print %s
+// RUN: clang -cc1 -ast-print %s
@protocol P1 @end
@protocol P2 @end
Modified: cfe/trunk/test/Parser/prefix-attributes.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/prefix-attributes.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/prefix-attributes.m (original)
+++ cfe/trunk/test/Parser/prefix-attributes.m Mon Dec 14 11:51:07 2009
@@ -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}}
Modified: cfe/trunk/test/Parser/selector-1.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/selector-1.m?rev=91300&r1=91299&r2=91300&view=diff
==============================================================================
--- cfe/trunk/test/Parser/selector-1.m (original)
+++ cfe/trunk/test/Parser/selector-1.m Mon Dec 14 11:51:07 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -parse-noop %s
+// RUN: clang -cc1 -parse-noop %s
int main() {
SEL s = @selector(retain);
More information about the cfe-commits
mailing list