[cfe-dev] [clang-tidy] Using clang-tidy on Windows

Manuel Klimek via cfe-dev cfe-dev at lists.llvm.org
Sun Sep 6 01:13:24 PDT 2015


Yes, now that we have 'arguments' in the compilation db, we should be able
to at least add it to cmake...

On Sun, Sep 6, 2015 at 2:06 AM Nikola Smiljanic <popizdeh at gmail.com> wrote:

> I don't think we do and I think we should really mention it in the docs.
> Last time I tried this I wasted an hour and ended up starting a Linux VM :)
>
> On Sat, Sep 5, 2015 at 2:43 AM, Manuel Klimek via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> On Fri, Sep 4, 2015 at 6:40 PM Richard via cfe-dev <
>> cfe-dev at lists.llvm.org> wrote:
>>
>>>
>>> In article <CAOsfVv=
>>> QAgkYsADBo6zMxB8mn8MBKdr56Tqzh3Prnntj-6ukLw at mail.gmail.com>,
>>>     Manuel Klimek via cfe-dev <cfe-dev at lists.llvm.org> writes:
>>>
>>> > The easiest way to get there is to use CMake, and have it output a
>>> > compilation database (see the description how to do this for LLVM, it's
>>> > very similar: http://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
>>> )
>>>
>>> Unless they've changed it, this doesn't work on Windows.
>>>
>>
>> Ah, right, sorry. My mistake. Do we have anything on Windows to generate
>> compile_commands.json? (I think I remember something, but then again, my
>> memory is really bad :)
>>
>>
>>> --
>>> "The Direct3D Graphics Pipeline" free book <
>>> http://tinyurl.com/d3d-pipeline>
>>>      The Computer Graphics Museum <http://ComputerGraphicsMuseum.org>
>>>          The Terminals Wiki <http://terminals.classiccmp.org>
>>>   Legalize Adulthood! (my blog) <http://LegalizeAdulthood.wordpress.com>
>>> _______________________________________________
>>> 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/20150906/96b2656e/attachment.html>


More information about the cfe-dev mailing list