[PATCH] D30881: Track skipped files in dependency scanning

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 30 19:02:29 PDT 2018


vsapsai added a comment.

I plan to look into cleaning this up and addressing the review comments.

Need to check if `DepCollectorPPCallbacks` has to be updated too.



================
Comment at: lib/Frontend/DependencyFile.cpp:302
+                 SrcMgr::CharacteristicKind FileType) {
+  AddFilename(llvm::sys::path::remove_leading_dotslash(SkippedFile.getName()));
+}
----------------
I suspect we need to call `FileMatchesDepCriteria` here too.


https://reviews.llvm.org/D30881





More information about the cfe-commits mailing list