diff options
author | Bob Wilson <bob.wilson@apple.com> | 2011-10-14 05:03:44 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2011-10-14 05:03:44 +0000 |
commit | 6524dd33beea0b72ec39d1e090f9c3f64f50257f (patch) | |
tree | d45518b0f5b02f97b1a3df83b73a816cc551533d /clang/test/Driver/rewrite-objc.m | |
parent | 0368ae071a669bf3d71f5e7c1a11a276d1d0006b (diff) | |
download | bcm5719-llvm-6524dd33beea0b72ec39d1e090f9c3f64f50257f.tar.gz bcm5719-llvm-6524dd33beea0b72ec39d1e090f9c3f64f50257f.zip |
Use Triple.isOSDarwin() instead of comparing against Triple::Darwin.
There are now separate Triple::MacOSX and Triple::IOS values for the OS
so comparing against Triple::Darwin will fail to match those. Note that
I changed the expected output for the Driver/rewrite-objc.m test, which had
previously not been passing Darwin-specific options with the macosx triple.
llvm-svn: 141944
Diffstat (limited to 'clang/test/Driver/rewrite-objc.m')
-rw-r--r-- | clang/test/Driver/rewrite-objc.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/rewrite-objc.m b/clang/test/Driver/rewrite-objc.m index 6164e2c5c8e..80190917c9c 100644 --- a/clang/test/Driver/rewrite-objc.m +++ b/clang/test/Driver/rewrite-objc.m @@ -3,7 +3,7 @@ // TEST0: clang{{.*}}" "-cc1" // TEST0: "-rewrite-objc" // FIXME: CHECK-NOT is broken somehow, it doesn't work here. Check adjacency instead. -// TEST0: "-fmessage-length" "0" "-fobjc-fragile-abi" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fdiagnostics-show-option" +// TEST0: "-fmessage-length" "0" "-stack-protector" "1" "-fblocks" "-fobjc-fragile-abi" "-fno-objc-infer-related-result-type" "-fobjc-exceptions" "-fexceptions" "-fdiagnostics-show-option" // TEST0: rewrite-objc.m" // RUN: not %clang -ccc-no-clang -ccc-host-triple unknown -rewrite-objc %s -o - -### 2>&1 | \ |