Naren KN wrote:
Hi Nathan,
Please copy the gcc list on these things.
I was asking this question and didn't get much reply.. regarding the
c++ frontend ... After calling the c_parse_file(), I wish to walk
through the list of namespaces, inturn all the classes and functions
inside them... could you help me with a sample code?? It will be very
very help ful.
If you can't atleast tell me the top level file handles for the following
1. namespaces
2. classes
3. functions
Also show me (that is already in gcc of particular version) example
codes which walk through these data structures.
walk_global_namespaces is what you want.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
[EMAIL PROTECTED] :: http://www.planetfall.pwp.blueyonder.co.uk