]> granicus.if.org Git - clang/commit
Add a default system include of '/include'. This isn't particularly
authorChandler Carruth <chandlerc@gmail.com>
Tue, 8 Nov 2011 17:19:47 +0000 (17:19 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 8 Nov 2011 17:19:47 +0000 (17:19 +0000)
commitc44bc2d32f81d11b4c0e46c932ba42e673b50a49
tree544b6f3a3e1d7ebee19d920d65291ad0ca2dec80
parentae7c25dab5ed7c8fc05462c8daf48e7d0945d364
Add a default system include of '/include'. This isn't particularly
useful when using Clang as a system-compiler, but its harmless. When
using Clang as a cross-compiler, this can be very handy as quite a few
toolchains ship their libc headers here rather than under
'/usr/include'.

For reference, this is the beginning of my work to also make the Clang
driver more suitable as a cross-compiler.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144089 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp