llvm-project/clang/unittests/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
..
CMakeLists.txt Fix a shared CMake build by linking with libclangBasic. 2015-10-07 20:19:25 +00:00
MultilibTest.cpp Update unit test for r232916. 2015-03-22 16:05:46 +00:00
ToolChainTest.cpp [Driver] Set the default driver mode based on the executable. 2016-08-12 17:47:52 +00:00