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 still has not been added to trunk, however. Alternately, you could look at dehydra (https://developer.mozilla.org/en/Dehydra) which had to solve a similar problem. Diego.