[PATCH] D23454: [Driver] Set the default clang driver mode based on the executable
Zachary Turner via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 12 10:42:05 PDT 2016
zturner created this revision.
zturner added a reviewer: rnk.
zturner added a subscriber: cfe-commits.
If `--driver-mode` is passed in one or more times, it will overwrite the default by this patch. This patch only makes it so that if NO `--driver-mode` is passed in, we try to do better than saying "must be GCC".
This is one of two steps necessary to get clang-tidy working on Windows. However, despite that, this change seems correct even in the general sense. If a `--driver-mode` option is not passed in, we should make the most informed possible decision we can.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5172 bytes
Desc: not available
More information about the cfe-commits