This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Refactoring tool
- From: "Rafael Espindola" <espindola at google dot com>
- To: "Patrick Flannery" <foster_flannery at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 29 Jul 2007 11:28:43 +0100
- Subject: Re: Refactoring tool
- References: <314610.21653.qm@web55908.mail.re3.yahoo.com>
> 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