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: [PATCH] plugin event for C/C++ function definitions


2014-11-14 7:08 GMT-03:00 Richard Biener <richard.guenther@gmail.com>:
> On Thu, Nov 13, 2014 at 6:42 PM, Andres Tiraboschi
> <andres.tiraboschi@tallertechnologies.com> wrote:
>> Hi, this patch adds a new plugin event PLUGIN_START_FUNCTION and PLUGIN_FINISH_FUNCTION that are invoked at start_function and finish_function respectively in the C and C++ frontends.
>> PLUGIN_START_FUNCTION is called before parsing the function body.
>> PLUGIN_FINISH_FUNCTION is called after parsing a function definition.
>
> Can you name them more specifically, like
> PLUGIN_START/FINISH_PARSE_FUNCTION please?
>
> Thanks,
> Richard.

Ok, I will do it


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