On 7/25/06, Christian Wagner <[EMAIL PROTECTED]> wrote:
Hi,

I'm trying to extract information from C++ code during the compilation process.
I need information about declarations, statements, functions (including
parameters and symbol name), source line and source file.

Perhaps you can tell why?

Could somebody please point out good places for me to add such a function?
Could you please name tree structures which contain the full information?

Look in gcc/cp/semantics.c, there's a function (I don't recall which)
that finalizes the tree in the front end and hands it to the
middle-end for gimplification (probably through a call to
cgraph_finalize or something like that).

Gr.
Steven

Reply via email to