[cfe-commits] PATCH: Adds a function to run FrontendActions over in memory code
klimek at google.com
Thu Apr 7 17:44:36 PDT 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 15374 bytes
Desc: not available
More information about the cfe-commits