summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-17 23:41:26 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-10-17 23:41:26 +0000
commit7e16493c9bd725a408a1ebdf43a93d8dbd559587 (patch)
tree93266ebdc133c64a01376fe912b235bb9721a3f6 /clang/test
parent858acf56607786be5deddc8a82b92a79dee2fde4 (diff)
downloadbcm5719-llvm-7e16493c9bd725a408a1ebdf43a93d8dbd559587.tar.gz
bcm5719-llvm-7e16493c9bd725a408a1ebdf43a93d8dbd559587.zip
Remove the hack where we sniff the __IPHONE_OS_VERSION_MIN_REQUIRED define.
We can use -mios-simulator-version-min now. rdar://10218700 llvm-svn: 142311
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/ios-simulator-arcruntime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/ios-simulator-arcruntime.c b/clang/test/Driver/ios-simulator-arcruntime.c
index bec9f7b1fdc..c8f73df66a6 100644
--- a/clang/test/Driver/ios-simulator-arcruntime.c
+++ b/clang/test/Driver/ios-simulator-arcruntime.c
@@ -1,5 +1,5 @@
-// RUN: %clang -### -x objective-c -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s
-// RUN: %clang -### -x objective-c -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s
+// RUN: %clang -### -x objective-c -ccc-host-triple i386-apple-darwin10 -arch i386 -mios-simulator-version-min=4.2 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s
+// RUN: %clang -### -x objective-c -ccc-host-triple i386-apple-darwin10 -arch i386 -mios-simulator-version-min=5 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s
//
// CHECK-OPTIONS1-NOT: -fobjc-runtime-has-weak
OpenPOWER on IntegriCloud