[PATCH] D34748: [clang-diff] improve mapping accuracy

Johannes Altmanninger via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 1 14:17:33 PDT 2017


johannes abandoned this revision.
johannes added a comment.

split up in several commits starting from https://reviews.llvm.org/D36176



================
Comment at: lib/Tooling/ASTDiff/ASTDiff.cpp:170
+  // Ignore everything from other files.
+  if (!SrcMgr.isInMainFile(SLoc))
+    return true;
----------------
arphaman wrote:
> How will you deal with changes in headers if you limit analysis to main files only? 
I will change this to support headers in another patch


https://reviews.llvm.org/D34748





More information about the cfe-commits mailing list