Add incrementalExternalDepend as an Incremental NodeKind

This commit is contained in:
Robert Widmann
2020-09-24 23:32:08 -06:00
parent 044f85ad9c
commit e646ef2cbe
6 changed files with 17 additions and 3 deletions

View File

@@ -2302,7 +2302,7 @@ static bool performCompileStepsPostSILGen(CompilerInstance &Instance,
auto *Mod = MSF.get<ModuleDecl *>();
fine_grained_dependencies::withReferenceDependencies(
Mod, *Instance.getDependencyTracker(), Mod->getModuleFilename(),
alsoEmitDotFile, [](SourceFileDepGraph &&g) {
alsoEmitDotFile, [&](SourceFileDepGraph &&g) {
serialize(MSF, serializationOpts, SM.get(), &g);
return false;
});