[cfe-dev] clang-tidy not running

Daniel Dilts via cfe-dev cfe-dev at lists.llvm.org
Tue Nov 10 08:23:35 PST 2015


That sounds like a great idea.

On Tue, Nov 10, 2015 at 2:00 AM, Manuel Klimek via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> It would also be great if clang-tidy figured out from the compilation
> database argv0 whether to construct clang in clang-cl mode?
>
> On Tue, Nov 10, 2015 at 10:57 AM Hans Wennborg via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> 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.
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151110/6943a8fe/attachment.html>


More information about the cfe-dev mailing list