llvm-project/clang/lib/Driver
Benjamin Kramer 8404eb0bad 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.

llvm-svn: 140341
2011-09-22 21:41:16 +00:00
..
Action.cpp Add support for a verifier to the driver. Currently only verifies debug 2011-08-23 17:56:55 +00:00
Arg.cpp StringRef'ize clang::drive::Option::getName(), from Zach Wheeler! 2011-07-05 16:56:25 +00:00
ArgList.cpp Fix else style. No functionality change intended. 2011-08-17 23:08:45 +00:00
CC1AsOptions.cpp Driver/MC: Add 'clang -cc1as' integrated assembler tool, currently accepts approximately the same interface as 'llvm-mc'. 2010-05-20 17:49:16 +00:00
CC1Options.cpp Driver/MC: Add 'clang -cc1as' integrated assembler tool, currently accepts approximately the same interface as 'llvm-mc'. 2010-05-20 17:49:16 +00:00
CMakeLists.txt CMake: LLVM_NO_RTTI must be obsolete now! 2011-02-10 09:15:32 +00:00
Compilation.cpp When the compiler crashes, the compiler driver now produces diagnostic 2011-08-02 17:58:04 +00:00
Driver.cpp [driver] Add support for the COMPILER_PATH environment variable, which adds the 2011-09-14 00:47:55 +00:00
DriverOptions.cpp Remove stray emacs mode markers in all these files that was causing emacs to 2010-12-31 17:31:54 +00:00
HostInfo.cpp Typo spotted by Ivan Krasin. 2011-08-20 06:56:17 +00:00
InputInfo.h Driver: Eliminate special InputInfo kind for pipes, it is now unused. 2010-08-02 02:38:21 +00:00
Job.cpp When the compiler crashes, the compiler driver now produces diagnostic 2011-08-02 17:58:04 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
OptTable.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
Option.cpp StringRef'ize clang::drive::Option::getName(), from Zach Wheeler! 2011-07-05 16:56:25 +00:00
Phases.cpp Remove stray emacs mode markers in all these files that was causing emacs to 2010-12-31 17:31:54 +00:00
Tool.cpp Remove stray emacs mode markers in all these files that was causing emacs to 2010-12-31 17:31:54 +00:00
ToolChain.cpp [driver] Default to arm mode when using the integrated assembler. 2011-09-20 20:44:06 +00:00
ToolChains.cpp For i386 kext fallback to llvm-gcc, search paths for several Darwin versions. 2011-09-20 22:00:38 +00:00
ToolChains.h For i386 kext fallback to llvm-gcc, search paths for several Darwin versions. 2011-09-20 22:00:38 +00:00
Tools.cpp Add support for CPATH and friends. 2011-09-22 21:41:16 +00:00
Tools.h Add support for a verifier to the driver. Currently only verifies debug 2011-08-23 17:56:55 +00:00
Types.cpp Add support of -x objc-cpp-output, -x objc++-cpp-output to the Driver. 2011-08-13 23:13:37 +00:00