llvm-project/clang/lib/Driver
Zachary Turner aff19c3864 [Driver] Set the default driver mode based on the executable.
Currently, if --driver-mode is not passed at all, it will default
to GCC style driver.  This is never an issue for clang because
it manually constructs a --driver-mode option and passes it.

However, we should still try to do as good as we can even if no
--driver-mode is passed.  LibTooling, for example, does not pass
a --driver-mode option and while it could, it seems like we should
still fallback to the best possible default we can.

This is one of two steps necessary to get clang-tidy working on Windows.

Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D23454

llvm-svn: 278535
2016-08-12 17:47:52 +00:00
..
Action.cpp Remove extra semi-colon. Fixes warning and Werror bots. 2016-07-16 00:58:34 +00:00
CMakeLists.txt MSVCToolChain.cpp: Make version.dll generic for win32. 2016-05-14 08:12:37 +00:00
Compilation.cpp [Driver] Add method to redirect output of Compilation. 2016-06-28 08:00:42 +00:00
CrossWindowsToolChain.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Driver.cpp [Driver] Set the default driver mode based on the executable. 2016-08-12 17:47:52 +00:00
DriverOptions.cpp Update clang to match llvm r250901. OptTable constructor now takes an ArrayRef. NFC 2015-10-21 16:31:33 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
MSVCToolChain.cpp [Driver] Fix Windows SDK Detection 2016-07-28 17:13:32 +00:00
MinGWToolChain.cpp Revert r253898 and r253899, this breaks mingw compilation on openSUSE. 2016-01-12 10:41:20 +00:00
Multilib.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
Phases.cpp Reapply "Change -save-temps to emit unoptimized bitcode files." 2014-12-21 07:00:00 +00:00
SanitizerArgs.cpp Revert "[Driver] Compute effective target triples once per job (NFCI)" 2016-07-27 23:01:55 +00:00
Tool.cpp Roll-back r250822. 2015-10-20 13:23:58 +00:00
ToolChain.cpp [Driver] Enable CFI for WebAssembly 2016-08-08 21:14:15 +00:00
ToolChains.cpp Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
ToolChains.h Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
Tools.cpp Don't enable PIE on i686-unknown-cloudabi. 2016-08-11 20:03:22 +00:00
Tools.h Revert "[Driver] Compute effective target triples once per job (NFCI)" 2016-07-27 23:01:55 +00:00
Types.cpp Add a RenderScript language type 2016-06-09 21:57:40 +00:00