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

Joshua Cranmer pidgeot18 at gmail.com
Mon Mar 5 09:56:34 PST 2012


To describe this patch in more detail:
Basically, this implements what I discussed in the thread at 
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2011-October/017972.html>. 
The most salient points:

-fplugin=, -fplugin-arg-<name>-<arg>[=<value>] syntax for plugins 
(inspired from gcc's architecture)
Specific function callbacks (plugin init, destroy, before, and after 
files are run), with a callback struct that allows to hook add 
PPCallback, ASTConsumer, and DiagonsticsClients on a per-file basis.

-- 
Joshua Cranmer
News submodule owner
DXR coauthor




More information about the cfe-commits mailing list