> Having spent some time looking at the code for gcc it seems reasonably 
> easy(with some suggestions) to traverse the tree generated and
> write the relevant information to a file.   Any suggestions or pointers to 
> related work would be much appreciated.

For C and C++, it might be easier to use a stand alone parser.
Depending on what you want, these might be sufficient:

http://llvm.org/cfe/
http://www.cs.berkeley.edu/~smcpeak/elkhound/sources/elsa/

> Patrick

Cheers,
-- 
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 368047

Reply via email to