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

Manuel Klimek 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.

Cheers,
/Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adds-a-function-to-run-FrontendActions-over-in-memor.patch
Type: text/x-patch
Size: 15374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110407/2ede7a81/attachment.bin>


More information about the cfe-commits mailing list