On Thursday 08 April 2010 09:06:54 Paweł Sikora wrote: > hi, > > i'm working on some gcc plugin and need to access all declarations > for function and classes. hooking on plugin_finish_type and > plugin_pre_genericize > gives me afaics only record_trees for declared classes. > how can i obtain (in easiest way) function decls? i should notice that i'm compiling only external library *header* and in such case the plugin_pre_genericize isn't invoked. afaics plugin_pre_genericize is invoked for classic translation unit. is it a lack of implemenation in header-precompilation machinery?