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: Refactoring tool


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


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