[cfe-dev] clang-tidy not running

Hans Wennborg via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 10 01:56:56 PST 2015


On Tue, Nov 10, 2015 at 1:08 AM, Reid Kleckner <rnk at google.com> wrote:
> This is interesting:
>   Default target: i686-pc-windows-gnu
>
> So, Clang thinks it's targetting mingw by default and does a mingw header
> file search instead of doing an MSVC header file search. I now recall that
> Hans builds the llvm.org releases with an explicit default target of
> i686-pc-windows-gnu, so that clang[++].exe behaves like mingw and
> clang-cl.exe behaves like cl.exe. clang-tidy inherits the default from
> clang, and clang-cl explicitly overrides the default target to MSVC.
>
> I'm not sure we actually want this behavior anymore. These days, I think of
> clang-cl as a command line syntax adapter, with clang.exe providing access
> to all the same functionality. At least, having the behavior of the
> installer differ from that of a stock cmake build feels a bit surprising.

Right, it's probably time to drop that. I'll make next week's snapshot
target msvc-style Windows by default.



More information about the cfe-dev mailing list