This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Hi : please please help me with c++ frontend


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
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]