[cfe-dev] How to get notified on each function definition
hiraditya at msn.com
Thu Feb 23 14:43:33 PST 2012
As the preprocessor has a set of callback function which can be overridden to get notifications,Is there way to get notified whenever a function declaration is encountered by the Parser.I saw one function in the class Sema.
Decl *Sema::ActOnStartOfFunctionDef(Scope *FnBodyScope, Decl *D);
Is there a way to define my own function which does the same thing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev