mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user