IWYU command-line wishes (was Re: [PATCH] Header dependencies support for modularize)
klimek at google.com
Tue Sep 10 06:44:07 PDT 2013
On Fri, Sep 6, 2013 at 8:52 PM, Kim Gräsman <kim.grasman at gmail.com> wrote:
> Hi Manuel,
> On Mon, Aug 26, 2013 at 9:39 AM, Manuel Klimek <klimek at google.com> wrote:
> > I'm still not sure what exactly the problem is. It seems to me like you
> > could implement a clang-tool and a clang plugin with very little
> I just wanted to come back to this, even though I don't seem to be
> having any luck in explaining myself. It definitely seems possible to
> implement, but I still question why it is that tools cannot/do not
> pick up input files from Clang's command-line.
> It seems like that would make them immediately pluggable into make
> systems without any obvious drawbacks. I entertain the possibility
> that I'm wrong, though :-)
I thought some more about this, and I'm slowly starting to lean your way :)
> >> John's latest patch was exactly what I was looking for, however: if
> >> findInputFile(s) was part of Tooling proper, I could use it to unpack
> >> the inputs from the Clang command-line and feed it into ClangTool.
> > As I said, putting findInputFiles into a better place (probably the
> > library) would make sense, if somebody wants to tackle it :)
> I'd be happy to do that if there's interest. I'll probably need it
> before too long anyway.
> - Kim
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits