Looking for a specialized Diff tool
Does anyone know if a diff tool exists that will display the class/struct definition or function prototype if something changes:
For Example --
File Version1:
Code:
#ifndef CLASS_A_H
#define CLASS_A_H
Class A
{
int dummy1;
};
#endif
File Version2:
Code:
#ifndef CLASS_A_H
#define CLASS_A_H
Class A
{
int dummy1;
int dummy2;
};
#endif
Most diff tools will report that a line was inserted in version 2 of the file and report where and what that line was.
What I'm looking for is something like the following so it will be more readable:
Code:
***OldFile.h***
Class A
{
int dummy1;
};
***NewFile.h***
Class A
{
int dummy1;
int dummy2;
};
Thanks,
- Kevin