[PATCH] D64089: [Driver] Introduce -stdlib++-isystem
Shoaib Meenai via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 13:11:52 PDT 2019
smeenai added a comment.
In D64089#1576902 <https://reviews.llvm.org/D64089#1576902>, @ldionne wrote:
> Background question: I'm familiar with the behavior on Darwin, where we prefer C++ headers in the toolchain (alongside the driver), however do other platforms behave the same? I thought this was something specific to Darwin.
The Linux toolchain (which is used for non-GNU Linux targets, e.g. Android) also prefers C++ headers in the toolchain: https://github.com/llvm/llvm-project/blob/a6548d04375b49da989103c403d83475cc2f8ce4/clang/lib/Driver/ToolChains/Linux.cpp#L891. There's a FIXME in the GCC toolchain to adopt that behavior too: https://github.com/llvm/llvm-project/blob/a6548d04375b49da989103c403d83475cc2f8ce4/clang/lib/Driver/ToolChains/Gnu.cpp#L2619
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64089/new/
https://reviews.llvm.org/D64089
More information about the cfe-commits
mailing list