aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/OptTable.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-09-22 21:41:16 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-09-22 21:41:16 +0000
commit47adebef0df6dce752fe9a45e9190e8005b5d07c (patch)
tree096b430ad15076f1b5170b72de873de8ad45e207 /lib/Driver/OptTable.cpp
parent4cd06348a8c7b3559e9f437439dfc75ff7a04e88 (diff)
Add support for CPATH and friends.
This moves the existing code for CPATH into the driver and adds the environment lookup and path splitting there. The paths are then passed down to cc1 with -I options (CPATH), added after the normal user-specified include dirs. Language specific paths are passed via -LANG-isystem and the actual filtering is performed in the frontend. I tried to match GCC's behavior as close as possible Fixes PR8971. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140341 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/OptTable.cpp')
0 files changed, 0 insertions, 0 deletions