diff options
author | Tim Northover <tnorthover@apple.com> | 2016-02-15 16:38:10 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2016-02-15 16:38:10 +0000 |
commit | 3a098c1b9fb5e05c2347bc2e081cc3f3adc3e60d (patch) | |
tree | 92c62822cbf88ffecd1a68bc85d618f7c91c76e5 /clang/darwin-stdlib.cpp | |
parent | 04bf43bd838e21710a4a5e6d5cda93caa54c2d85 (diff) | |
download | bcm5719-llvm-3a098c1b9fb5e05c2347bc2e081cc3f3adc3e60d.tar.gz bcm5719-llvm-3a098c1b9fb5e05c2347bc2e081cc3f3adc3e60d.zip |
Darwin: fix stdlib handling when CLANG_DEFAULT_STDLIB is set
I'd accidentally skipped the CMake check in a premature optimisation. I'd also
put the original test in completely the wrong place.
Thanks Jonas Hahnfeld!
llvm-svn: 260898
Diffstat (limited to 'clang/darwin-stdlib.cpp')
-rw-r--r-- | clang/darwin-stdlib.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/clang/darwin-stdlib.cpp b/clang/darwin-stdlib.cpp deleted file mode 100644 index c9be6075bb0..00000000000 --- a/clang/darwin-stdlib.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// RUN: %clang -target x86_64-apple-darwin -arch arm64 -miphoneos-version-min=7.0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX -// RUN: %clang -target x86_64-apple-darwin -mmacosx-version-min=10.8 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBSTDCXX -// RUN: %clang -target x86_64-apple-darwin -mmacosx-version-min=10.9 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX -// RUN: %clang -target x86_64-apple-darwin -arch armv7s -miphoneos-version-min=6.1 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBSTDCXX -// RUN: %clang -target x86_64-apple-darwin -arch armv7s -miphoneos-version-min=7.0 %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX -// RUN: %clang -target x86_64-apple-darwin -arch armv7k %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-LIBCXX - -// The purpose of this test is that the libc++ headers should be found -// properly. At the moment this is done by passing -stdlib=libc++ down to the -// cc1 invocation. If and when we change to finding them in the driver this test -// should reflect that. - -// CHECK-LIBCXX: -stdlib=libc++ - -// CHECK-LIBSTDCXX-NOT: -stdlib=libc++ -// CHECK-LIBSTDCXX-NOT: -stdlib=libstdc++ |