diff options
| author | Reid Kleckner <reid@kleckner.net> | 2015-03-05 00:04:18 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2015-03-05 00:04:18 +0000 |
| commit | ab9b179f4f74e93b9a7c199488f18e0923af3098 (patch) | |
| tree | bc3ec082513f7f324956589b6516681e995baf3b /clang/test/Rewriter | |
| parent | 07aee9c2c6261829ff10fb87e5d14711a110bd67 (diff) | |
| download | bcm5719-llvm-ab9b179f4f74e93b9a7c199488f18e0923af3098.tar.gz bcm5719-llvm-ab9b179f4f74e93b9a7c199488f18e0923af3098.zip | |
Give some obj-c rewriter tests that use MS pragmas a triple as a speculative fix
llvm-svn: 231320
Diffstat (limited to 'clang/test/Rewriter')
| -rw-r--r-- | clang/test/Rewriter/properties.m | 4 | ||||
| -rw-r--r-- | clang/test/Rewriter/rewrite-nested-property-in-blocks.mm | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Rewriter/properties.m b/clang/test/Rewriter/properties.m index 67e864ed0fa..9943511c36e 100644 --- a/clang/test/Rewriter/properties.m +++ b/clang/test/Rewriter/properties.m @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp -// RUN: %clang_cc1 -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// RUN: %clang_cc1 -triple i686-pc-windows -x objective-c -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp +// RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp void *sel_registerName(const char *); diff --git a/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm b/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm index d029559b64f..de34ac82706 100644 --- a/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm +++ b/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm @@ -1,7 +1,7 @@ -// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp -// RUN: %clang_cc1 -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp -// RUN: %clang_cc1 -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp -// RUN: %clang_cc1 -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp +// RUN: %clang_cc1 -triple i686-pc-windows -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %s -o %t-rw.cpp +// RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-rw.cpp +// RUN: %clang_cc1 -triple i686-pc-windows -x objective-c++ -Wno-return-type -fblocks -fms-extensions -rewrite-objc %s -o %t-modern-rw.cpp +// RUN: %clang_cc1 -triple i686-pc-windows -fsyntax-only -fms-extensions -Wno-address-of-temporary -Did="void *" -D"SEL=void*" -D"__declspec(X)=" %t-modern-rw.cpp // radar 8608293 typedef unsigned long size_t; |

