[cfe-dev] Way to compare two Function bodies.

Игорь Пашев pashev.igor at gmail.com
Wed Jul 17 15:08:57 PDT 2013


2013/7/17 Pavan Pattanada <pattanad at uci.edu>:
> Hi,
> I need to compare two versions of the same clang::FunctionDecl function
> body(a function in C). I would need to compare them statement by statement
> and say if the two versions are the same. Is there a neat way to do this in
> the clang framework?

Not sure about Clang, but did you think about GNU indent and diff? :-)



More information about the cfe-dev mailing list