This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: plugin event for C/C++ declarations


On 11-07-07 05:06 , Romain Geissler wrote:

gcc/ChangeLog:

        * plugin.def: Add event for finish_decl.
        * plugin.c (register_callback, invoke_plugin_callbacks): Same.
        * c-decl.c (finish_decl): Invoke callbacks on above event.
        * doc/plugins.texi: Document above event.

gcc/cp/ChangeLog:

* decl.c (cp_finish_decl): Invoke callbacks on finish_decl event.

gcc/testsuite/ChangeLog:

        * g++.dg/plugin/decl_plugin.c: New test plugin.
        * g++.dg/plugin/decl-plugin-test.C: Testcase for above plugin.
        * g++.dg/plugin/plugin.exp: Add above testcase.

OK. This one fell through the cracks in my inbox. Apologies.



Diego.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]