diff options
author | Louis Dionne <ldionne@apple.com> | 2019-05-21 17:48:04 +0000 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2019-05-21 17:48:04 +0000 |
commit | 3541ea8ff78a71cfb4f30a4371cdc136b5bbe013 (patch) | |
tree | 135ff4c292e469245e4866f752a55b66d192618d /test/Frontend | |
parent | ba43004e612b2de9d60fd5b07164e63fa8fe4875 (diff) | |
download | clang-3541ea8ff78a71cfb4f30a4371cdc136b5bbe013.tar.gz |
[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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Frontend')
-rw-r--r-- | test/Frontend/warning-stdlibcxx-darwin.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/Frontend/warning-stdlibcxx-darwin.cpp b/test/Frontend/warning-stdlibcxx-darwin.cpp deleted file mode 100644 index 697fe27c73..0000000000 --- a/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 |