summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-05-21 17:48:04 +0000
committerLouis Dionne <ldionne@apple.com>2019-05-21 17:48:04 +0000
commite97b5f5cf37e382643b567affd714823215d0e75 (patch)
tree2e8d6ed7833c20d2733478b92d5635833940fc2b /clang/test/Frontend
parentb7a19321442a5c78ea463fe9a9c671d2522788ee (diff)
downloadbcm5719-llvm-e97b5f5cf37e382643b567affd714823215d0e75.tar.gz
bcm5719-llvm-e97b5f5cf37e382643b567affd714823215d0e75.zip
[clang][Darwin] Refactor header search path logic into the driver
Summary: This commit moves the logic for determining system, resource and C++ header search paths from CC1 to the driver. This refactor has already been made for several platforms, but Darwin had been left behind. This refactor tries to implement the previous search path logic with perfect accuracy. In particular, the order of all include paths inside CC1 and all paths that were skipped because nonexistent are conserved after the refactor. This change was also tested against a code base of significant size and revealed no problems. Reviewers: jfb, arphaman Subscribers: nemanjai, javed.absar, kbarton, christof, jkorous, dexonsmith, jsji, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61963 llvm-svn: 361278
Diffstat (limited to 'clang/test/Frontend')
-rw-r--r--clang/test/Frontend/warning-stdlibcxx-darwin.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/test/Frontend/warning-stdlibcxx-darwin.cpp b/clang/test/Frontend/warning-stdlibcxx-darwin.cpp
deleted file mode 100644
index 697fe27c730..00000000000
--- a/clang/test/Frontend/warning-stdlibcxx-darwin.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-// RUN: %clang -cc1 -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist %s 2>&1 | FileCheck %s
-// RUN: %clang -cc1 -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist -stdlib=libc++ %s -verify
-// RUN: %clang -cc1 -x c++-cpp-output -triple arm64-apple-ios6.0.0 -isysroot %S/doesnotexist %s -verify
-// CHECK: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead
-
-// expected-no-diagnostics
OpenPOWER on IntegriCloud