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: [libcpp] patch: add used callback


>>>>> "Basile" == Basile STARYNKEVITCH <basile@starynkevitch.net> writes:

Basile> Perhaps something like
Basile>          invoke_plugin_callbacks (PLUGIN_EXPAND_MACRO, node);
Basile> would be useful at this place (e.g. for a plugin doing metrics
Basile> on macro expansions)?  [I am not sure to get it right; I don't
Basile> understand a lot libcpp]

I think it is preferable not to have plugin code directly in libcpp, but
instead just expose callbacks (as we're already doing) and then leave it
to code in gcc to decide how to further expose these to plugins.

Tom


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