[cfe-commits] PATCH: Adds a function to run FrontendActions over in memory code

Manuel Klimek klimek at google.com
Tue Apr 12 14:46:42 PDT 2011

Looking for some feedback :) Negative feedback (as in: this is a
really stupid idea) would help me, too...


On Thu, Apr 7, 2011 at 5:44 PM, Manuel Klimek <klimek at google.com> wrote:
> Adds a function to run FrontendActions over in-memory code. This is
> the first step towards a standalone Clang tool infrastructure.
> The plan is to make it easy to build command line tools that run over
> the AST of source files in a project outside of the build system.
> We've been experimenting with this model for tools at Google and got
> great feedback from our developers, so we now want to make that
> available to open source developers as well. I'm currently working
> with the CMake folks to get CMake to output a small Json
> compile command line database which tools can query to run over
> code. Adding support for that will be one of the next steps after this CL,
> and I'll send out a separate mail to discuss the details of that step.
> Cheers,
> /Manuel

Manuel Klimek (http://go/klimek)

More information about the cfe-commits mailing list