[cfe-dev] How to get notified on each function definition

Aditya Kumar 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...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120223/249fe430/attachment.html>


More information about the cfe-dev mailing list