tree dump system and scopes

Tiago Stein tiago@lisha.ufsc.br
Wed Sep 15 12:31:00 GMT 2004



Hello, I am writting this mail because I am developing a tool with gcc on
my university research (some code transformations stuff). I already
introduced some modifications in the tree dump system of g++ (the one
enable by -fdump-tree-inlined) to get some informations I need, but now I
need to be able to identify when a class (record) is inside any special
scope. I get the scope statement when the class is inside a namespace, but
I do not get any information when the class is nested to other class.  In
other words, if I have class A, nested to class B, I would like to have
the info that B name is A::B  or that it is inside A class somehow.


Can anyone give me pointer where I should look in code in order to modify
the dump system to give me these informations.

Thanks for any help.




More information about the Gcc mailing list