This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Hi : please please help me with c++ frontend
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Naren KN <narenkn at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 19 May 2006 08:46:47 +0100
- Subject: Re: Hi : please please help me with c++ frontend
- References: <a880b99c0605190028o1bb1745cy485005befadd08bc@mail.gmail.com>
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