[GCC-XML] Doubt on using gccxml for version compare
brad.king at kitware.com
Tue Aug 7 14:36:57 EDT 2007
Indrajith K wrote:
> Hello All,
> I haven't used gccxml, but looking at the feasibility of using it in
> my custom version compare application. My requirement is
> I am given various versions of cpp files from year 2000; which runs
> into few tens and in some cases hundreds. Now the task is to compare
> each version to see the most affected functions.
> The algo seems to be straight forward. I could compare two versions
> and see whether the code is added/deleted or modified. Also I will get
> information on the line numbers. Now the task is the relate this line
> to the function / class it belongs. Please note that I have to parse
> cpp files and not header files.
> Could some body help me telling if I could use gcc-xml for this purpose.
Probably not. GCC-XML does not dump information about function
implementations...just the interfaces.
More information about the gccxml