aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-08-12 17:47:52 +0000
committerZachary Turner <zturner@google.com>2016-08-12 17:47:52 +0000
commitaff19c3864cfb4f80b3b47863e085d9f4edc8b0e (patch)
treef46725f4cb92de5d2f932e7252b33f1f9ba5168a /clang/lib/Basic/VirtualFileSystem.cpp
parent03878729fb6e12e4289676494008663d45963b7a (diff)
downloadllvm-aff19c3864cfb4f80b3b47863e085d9f4edc8b0e.zip
llvm-aff19c3864cfb4f80b3b47863e085d9f4edc8b0e.tar.gz
llvm-aff19c3864cfb4f80b3b47863e085d9f4edc8b0e.tar.bz2
[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
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions