[cfe-commits] [PATCH] Implement a better plugin API for clang
Joshua Cranmer
pidgeot18 at gmail.com
Fri Jun 22 09:11:05 PDT 2012
On 6/21/2012 11:56 AM, Jordan Rose wrote:
> I think it's still interesting to be able to run plugin actions instead of CodeGen. It's not certain yet, but we're (the static analyzer team) looking at plans to extract the analyzer and possibly the various Objective-C rewriters out of the main clang binary (or at least make them optionally built), and we'd rather not distribute two copies of Basic, Lex, Parse, AST, Sema, etc. that these kinds of alternate ASTActions would need.
Why would you need two copies of Basic/Lex/etc.? Clang is already built
with all of this stuff, so the plugin would be able to use clang's
version of everything here in normal codegen anyways, unless I'm
misunderstanding your statement.
--
Joshua Cranmer
News submodule owner
DXR coauthor
More information about the cfe-commits
mailing list