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

Ahmed Charles ahmedcharles at gmail.com
Mon Mar 5 18:18:37 PST 2012

Does this solve the issue where plugins prevent codegen from working?

From: Joshua Cranmer
Sent: 3/5/2012 12:54 PM
To: cfe-commits at cs.uiuc.edu
Subject: Re: [cfe-commits] [PATCH] Introduce a plugin architecture
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

cfe-commits mailing list
cfe-commits at cs.uiuc.edu

More information about the cfe-commits mailing list