summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/darwin-header-search-libcxx.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add back --sysroot support for darwin header search.James Y Knight2019-05-221-0/+23
| | | | | | | | | | | | | | | | Before e97b5f5cf37e ([clang][Darwin] Refactor header search path logic into the driver), both --sysroot and -isysroot worked to specify where to look for system and C++ headers on Darwin. However, that change caused clang to start ignoring --sysroot. This fixes the regression, and adds tests. (I also note that on all other platforms, clang seems to almost completely ignore -isysroot, but that's another issue...) Differential Revision: https://reviews.llvm.org/D62268 llvm-svn: 361429
* Mark tests from r361278 as unsupported on Windows.Russell Gallop2019-05-221-0/+2
| | | | llvm-svn: 361374
* Fix test failures after r361278 on non-Darwin platforms and whenRichard Smith2019-05-211-2/+4
| | | | | | CLANG_DEFAULT_STDLIB is defined to libstdc++. llvm-svn: 361301
* [clang][Darwin] Refactor header search path logic into the driverLouis Dionne2019-05-211-0/+78
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
OpenPOWER on IntegriCloud