[Fast Dependency Scanner] Produce information on whether an explicit module is a framework

In the fast dependency scanner, depending on whether a module intrface was found via the import search path or framework search path, encode into the dependency graph Swift module details, whether a given module is a framework.
This commit is contained in:
Artem Chikin
2020-08-12 10:12:35 -07:00
parent 0d25abc2c4
commit 40c1687fd2
15 changed files with 117 additions and 54 deletions

View File

@@ -116,7 +116,7 @@ protected:
loader->findModuleFilesInDirectory({moduleName, SourceLoc()},
SerializedModuleBaseName(tempDir, SerializedModuleBaseName("Library")),
/*ModuleInterfacePath*/nullptr,
&moduleBuffer, &moduleDocBuffer, &moduleSourceInfoBuffer);
&moduleBuffer, &moduleDocBuffer, &moduleSourceInfoBuffer, /*IsFramework*/false);
ASSERT_FALSE(error);
ASSERT_FALSE(diags.hadAnyError());