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 07/11] Introduce virtual functions in testsuite/gcc.dg/plugin/one_time_plugin.c


On 07/26/2013 05:04 AM, David Malcolm wrote:
> This is an example of converting the "gate" and "execute" functions of
> a pass into C++ virtual functions, so that in the next patch we can move
> a variable into member data of the opt_pass subclass.
> 
> gcc/testsuite/
> 
> 	* gcc.dg/plugin/one_time_plugin.c: (one_pass_gate): convert
> 	to member function...
> 	(one_pass::gate): ...this
> 	(one_pass_exec): convert to member function...
> 	(one_pass::impl_execute): ...this

Ok.


r~


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