[cfe-dev] Way to compare two Function bodies.
Richard Smith
richard at metafoo.co.uk
Wed Jul 17 15:42:37 PDT 2013
On Wed, Jul 17, 2013 at 10:10 AM, Pavan Pattanada <pattanad at uci.edu> wrote:
> 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?
>
This question is too vague to answer: what do you mean by "the same"? Same
source text, same tokens, same tokens other than variable naming, something
else?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130717/2eb9de6d/attachment.html>
More information about the cfe-dev
mailing list