This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How to traverse through all type declarations in a compilation module?
- From: "Haifeng He" <hehaifeng2nd at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 25 Feb 2008 02:02:39 -0700
- Subject: How to traverse through all type declarations in a compilation module?
Hi,
I would like to know what types were defined in a compilation module?
For example, suppose in a program, user defines
struct A, B, C. I would like to get the type information of all these
struct (I am using GIMBLE representation. )
Where does GCC store the those type informations and how can I get them?
Thanks
Haifeng