[cfe-dev] compile_commands.json for Windows/MSVC
hans at chromium.org
Mon Jan 13 13:39:57 PST 2014
clang-cl should be able to "eat" all of them, but it will ignore a
bunch that are unsupported.
However, I don't think the clang tooling stuff is hooked up to
understand "cl-mode" arguments, since AFAIK, it doesn't invoke the
driver in the same way (but I could be wrong).
It might not be hard to make the tooling understand that the commands
from a compilation database should be interpreted in cl-mode, but I
haven't looked into it.
On Sun, Jan 12, 2014 at 9:17 AM, Manuel Klimek <klimek at google.com> wrote:
> I think this depends on how much of VC's command line arguments clang can
> already "eat"...
> On Sun, Jan 12, 2014 at 2:15 PM, adrien.courdavault
> <adrien.courdavault at gmail.com> wrote:
>> Hello everyone.
>> I would like to know what is the status of this feature.
>> In fact I have been following clang on windows for some time.
>> i have installed the 3.4 version on Windows when it was released (thanks
>> you all clang developer for this BTW)
>> ( FYI I could not find the manual of clang modernize for 3.4 )
>> ASAIK the driver for visual is done.
>> And I have Cmake 126.96.36.199 (latest version) I haven't seen anything in the
>> changelogs for 188.8.131.52 neither 3.0 that is about this matter.
>> So I would like to know what I should do to get it working (I mean use the
>> compile_commands.json with visual generator of cmake).
>> Thank you for your help
More information about the cfe-dev