[cfe-commits] r48275 - in /cfe/trunk/test/Rewriter: id-test-3.m objc-encoding-bug-1.m objc-ivar-receiver-1.m objc-super-test.m objc-synchronized-1.m protocol-rewrite-1.m rewrite-foreach-1.m rewrite-foreach-2.m rewrite-foreach-3.m rewrite-foreach-4.m rewrite-foreach-5.m rewrite-protocol-type-1.m rewrite-try-catch.m undecl-objc-h.m undef-field-reference-1.m va-method.m
Steve Naroff
snaroff at apple.com
Tue Mar 11 19:07:40 PDT 2008
Author: snaroff
Date: Tue Mar 11 21:07:40 2008
New Revision: 48275
URL: http://llvm.org/viewvc/llvm-project?rev=48275&view=rev
Log:
Since the rewriter now outputs C++, it no longer makes sense to pipe the output to clang.
This should "fix" all but one of the test failure.
Modified:
cfe/trunk/test/Rewriter/id-test-3.m
cfe/trunk/test/Rewriter/objc-encoding-bug-1.m
cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m
cfe/trunk/test/Rewriter/objc-super-test.m
cfe/trunk/test/Rewriter/objc-synchronized-1.m
cfe/trunk/test/Rewriter/protocol-rewrite-1.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-protocol-type-1.m
cfe/trunk/test/Rewriter/rewrite-try-catch.m
cfe/trunk/test/Rewriter/undecl-objc-h.m
cfe/trunk/test/Rewriter/undef-field-reference-1.m
cfe/trunk/test/Rewriter/va-method.m
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/id-test-3.m (original)
+++ cfe/trunk/test/Rewriter/id-test-3.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@protocol P
- (id<P>) Meth: (id<P>) Arg;
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-encoding-bug-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-encoding-bug-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-ivar-receiver-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
// RUN: clang -rewrite-test %s | grep 'newInv->_container'
@interface NSMutableArray
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-super-test.m (original)
+++ cfe/trunk/test/Rewriter/objc-super-test.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@interface SUPER
- (int) MainMethod;
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/objc-synchronized-1.m (original)
+++ cfe/trunk/test/Rewriter/objc-synchronized-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
id SYNCH_EXPR();
void SYNCH_BODY();
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/protocol-rewrite-1.m (original)
+++ cfe/trunk/test/Rewriter/protocol-rewrite-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
typedef struct MyWidget {
int a;
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-1.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-2.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-2.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-3.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-3.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-4.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-4.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-foreach-5.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-foreach-5.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@interface MyList
- (id) allKeys;
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-protocol-type-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/rewrite-try-catch.m (original)
+++ cfe/trunk/test/Rewriter/rewrite-try-catch.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@interface Foo @end
@interface GARF @end
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/undecl-objc-h.m (original)
+++ cfe/trunk/test/Rewriter/undecl-objc-h.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
typedef struct S {
int * pint;
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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/undef-field-reference-1.m (original)
+++ cfe/trunk/test/Rewriter/undef-field-reference-1.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
@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=48275&r1=48274&r2=48275&view=diff
==============================================================================
--- cfe/trunk/test/Rewriter/va-method.m (original)
+++ cfe/trunk/test/Rewriter/va-method.m Tue Mar 11 21:07:40 2008
@@ -1,4 +1,4 @@
-// RUN: clang -rewrite-test %s | clang
+// RUN: clang -rewrite-test %s
#include <stdarg.h>
More information about the cfe-commits
mailing list