global declarations

Dasarath Weeratunge dasarath@gmail.com
Mon Feb 25 20:58:00 GMT 2008


Once the files have been completely parsed, how can I traverse through
all global declarations (e.g. types and variables) ? I can find the
functions by traversing the call graph but would like to know how to
do the same for types and variables. Also is there a way to find a
decl from its UID?

Thanks.
-- dasarath



More information about the Gcc mailing list