diff options
-rw-r--r-- | test/Rewriter/rewrite-implementation.mm | 2 | ||||
-rw-r--r-- | test/Rewriter/rewrite-unique-block-api.mm | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/test/Rewriter/rewrite-implementation.mm b/test/Rewriter/rewrite-implementation.mm index 608707c430..c1d89a3c36 100644 --- a/test/Rewriter/rewrite-implementation.mm +++ b/test/Rewriter/rewrite-implementation.mm @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp -// RUN: %clang_cc1 -DSEL="void *" -S %t-rw.cpp +// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // radar 7649577 @interface a diff --git a/test/Rewriter/rewrite-unique-block-api.mm b/test/Rewriter/rewrite-unique-block-api.mm index 780a3f0a5e..130f514365 100644 --- a/test/Rewriter/rewrite-unique-block-api.mm +++ b/test/Rewriter/rewrite-unique-block-api.mm @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp -// RUN: FileCheck -check-prefix LP --input-file=%t-rw.cpp %s +// RUN: %clang_cc1 -fsyntax-only -Wno-address-of-temporary -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp // radar 7630551 void f(void (^b)(char c)); @@ -23,9 +23,3 @@ void f(void (^b)(char c)); f(^(char x) { }); } @end - -// CHECK-LP: struct __a__processStuff_block_impl_0 -// CHECK-LP: static void __a__processStuff_block_func_0 - -// CHECK-LP: struct __b__processStuff_block_impl_0 -// CHECK-LP: static void __b__processStuff_block_func_0 |