On Monday 12 April 2010 22:12:04 Diego Novillo wrote: > On Thu, Apr 8, 2010 at 03:06, Paweł Sikora <pluto@xxxxxxxx> wrote: > > gives me afaics only record_trees for declared classes. > > how can i obtain (in easiest way) function decls? > > There is a patch that may give you what you want. > http://gcc.gnu.org/ml/gcc-patches/2010-04/msg00315.html it looks nice but introduces a redudancy in hooking, e.g. it reports class methods via PLUGIN_FINISH_DECL while suitable decls are available via PLUGIN_FINISH_TYPE/TYPE_METHODS chain. is such redudancy expected?