[PATCH] D45012: [Modules] Skip adding unused module maps to the dependency file

2018-05-29 Thread Richard Smith - zygoloid via Phabricator via cfe-commits
rsmith added a comment. This feature seems reasonable to me. Comment at: lib/Frontend/DependencyFile.cpp:206-223 class DFGMMCallback : public ModuleMapCallbacks { DFGImpl &Parent; public: DFGMMCallback(DFGImpl &Parent) : Parent(Parent) {} void moduleMapFileRead(Sourc

[PATCH] D45012: [Modules] Skip adding unused module maps to the dependency file

2018-05-29 Thread Bruno Cardoso Lopes via Phabricator via cfe-commits
bruno added a comment. Ping Repository: rC Clang https://reviews.llvm.org/D45012 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D45012: [Modules] Skip adding unused module maps to the dependency file

2018-03-28 Thread Bruno Cardoso Lopes via Phabricator via cfe-commits
bruno created this revision. bruno added a reviewer: rsmith. Current generation of dependency files when modules is on take into account all parsed module maps found while searching for a specific module. Add a new cc1 flag that allows changing that behavior: only add module maps that actually an