Re: Refactoring tool

2007-07-29 Thread ori bar
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 <[EMAIL PROTECTED]> wrote: > > Having spent some time looking at the code for gcc it seems reasonably > > easy(with some suggestions) to traverse the tree generated a

Re: Refactoring tool

2007-07-29 Thread Rafael Espindola
> 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 us

Re: Refactoring tool

2007-07-22 Thread Robert Dewar
Patrick Flannery wrote: Any suggestions or pointers to related work would be much appreciated. The GNAT front end generates the kind of information you are suggesting for Ada (see format of ali files), and GPS has a refactoring tool that makes use of this information, so that might be one

Refactoring tool

2007-07-22 Thread Patrick Flannery
gcc, Recently I have been interested in creating an open source refactoring tool. I did not have much luck finding an application that does what I need and thought that I could get some feedback from the gcc community. In particular I would like to add a flag which would cause gcc to emit