[cfe-commits] [PATCH] Introduce a plugin architecture

Joshua Cranmer pidgeot18 at gmail.com
Mon Mar 5 12:52:56 PST 2012


On 3/5/2012 12:16 PM, Sebastian Redl wrote:
> On 05.03.2012, at 17:58, pidgeot18 at gmail.com wrote:
>
>> +
>> +/**
>> + * Callback that is called before a function is compiled.
> s/function/file/ or maybe s/a/any/ ? The way it is doesn't sound right.
D'oh... shouldn't attempt to write documentation after midnight...

> I still think plugins should be capable of transforming the AST and 
> passing the modified AST down the line (for code augmentation), but 
> this looks like an excellent first step. Sebastian 

I do too, but I have heard that there is a lot of code which wouldn't be 
happy with this right now, so that warrants its own set of patches IMHO.

-- 
Joshua Cranmer
News submodule owner
DXR coauthor




More information about the cfe-commits mailing list