[cfe-dev] Clang Plugins
dgregor at apple.com
Fri Jul 22 13:41:07 PDT 2011
On Jul 22, 2011, at 1:39 PM, John Criswell wrote:
> On 7/22/11 3:27 PM, Douglas Gregor wrote:
>> On Jul 22, 2011, at 1:21 PM, John Criswell wrote:
>> There's not much work going on in that area now, although you can check out the examples in the Clang tree for plugins that do currently exist, and how they fit in. There is much to be improved.
> Where can I find these examples in the Clang source tree? Is there a class whose name I can grep for in the source code to help locate these examples?
examples/PrintFunctionNames is the example I had in mind. It shows how to introduce a new ASTConsumer via a plugin.
More information about the cfe-dev