rsmith added inline comments.
================
Comment at: lib/Frontend/ASTUnit.cpp:1402-1406
@@ +1401,7 @@
+
+ vfs::Status Status;
+ if (FileMgr->getNoncachedStatValue(RB.first, Status)) {
+ AnyFileChanged = true;
+ break;
+ }
+
----------------
Suppose file names A and B refer to file (inode) X, and the map contains X ->
(A, hash). If B is deleted (and maybe recreated pointing at a new inode), this
approach won't detect that anything has changed.
http://reviews.llvm.org/D20137
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits