[cfe-dev] compile_commands.json for Windows/MSVC
silvas at purdue.edu
Mon Jan 13 15:02:21 PST 2014
On Mon, Jan 13, 2014 at 4:39 PM, Hans Wennborg <hans at chromium.org> wrote:
> 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.
Wouldn't the "command" key in the JSON compdb provide that information?
Wouldn't the command start with cl.exe or clang-cl or something?
-- Sean Silva
> - Hans
> On Sun, Jan 12, 2014 at 9:17 AM, Manuel Klimek <klimek at google.com> wrote:
> > +Hans
> > 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
> >> to
> >> 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 18.104.22.168 (latest version) I haven't seen anything in
> >> changelogs for 22.214.171.124 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
> >> compile_commands.json with visual generator of cmake).
> >> Thank you for your help
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev