]> granicus.if.org Git - clang/commit
[Driver] Support g++ headers in include/g++
authorDavid Greene <greened@obbligato.org>
Tue, 13 Nov 2018 21:38:45 +0000 (21:38 +0000)
committerDavid Greene <greened@obbligato.org>
Tue, 13 Nov 2018 21:38:45 +0000 (21:38 +0000)
commit5e1f58d79130478b969bcbb29dd1545852500f7f
tree404b8e8816493d9f4ec566e260b27816797d08c8
parent763e698eab4eac8382b0747160129ac0388913bb
[Driver] Support g++ headers in include/g++

ray's gcc installation puts C++ headers in PREFIX/include/g++ without
indicating a gcc version at all. Typically this is because the version
is encoded somewhere in PREFIX.

Differential Revision: https://reviews.llvm.org/D53770

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346802 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Linux.cpp
test/Driver/Inputs/cray_suse_gcc_tree/opt/gcc/8.2.0/snos/include/g++/backward/.keep [new file with mode: 0644]
test/Driver/Inputs/cray_suse_gcc_tree/opt/gcc/8.2.0/snos/lib/gcc/x86_64-suse-linux/8.2.0/crtbegin.o [new file with mode: 0644]
test/Driver/Inputs/cray_suse_gcc_tree/usr/include/c++/4.8/.keep [new file with mode: 0644]
test/Driver/Inputs/cray_suse_gcc_tree/usr/lib/gcc/x86_64-suse-linux/8.2.0/crtbegin.o [new file with mode: 0644]
test/Driver/linux-header-search.cpp