summaryrefslogtreecommitdiff
path: root/test/ARCMT/remove-dealloc-zerouts.m
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-02 01:16:38 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-02 01:16:38 +0000
commitd1e40d5389a4382cbebc97d54792f41ee0414af4 (patch)
tree2c68b244340ddc8f8f4c754b1f23882a408bf022 /test/ARCMT/remove-dealloc-zerouts.m
parent6a835dddf45922e71a87637fdfac0863de65123c (diff)
downloadclang-d1e40d5389a4382cbebc97d54792f41ee0414af4.tar.gz
Make -fobjc-nonfragile-abi the -cc1 default, since it's the
increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore. This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do. Most, though, it involved a perl script to translate a ton of test cases. Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140957 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ARCMT/remove-dealloc-zerouts.m')
-rw-r--r--test/ARCMT/remove-dealloc-zerouts.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ARCMT/remove-dealloc-zerouts.m b/test/ARCMT/remove-dealloc-zerouts.m
index 3ba85f1edc..4176ec580c 100644
--- a/test/ARCMT/remove-dealloc-zerouts.m
+++ b/test/ARCMT/remove-dealloc-zerouts.m
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
-// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -x objective-c %s > %t
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
+// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
// RUN: diff %t %s.result
@interface Foo