Refactoring tool

ori bar tohava@gmail.com
Mon Jul 30 06:48:00 GMT 2007


You are right about C, but i believe templates in C++ make parsing harder.
DOxygen also parses C/C++.

On 7/29/07, Rafael Espindola <espindola@google.com> wrote:
> > 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
>


-- 
1110101111111110 - it's a way of life



More information about the Gcc mailing list