mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: add a frontend flag to skip printing import statement corresponding to a module name.
Related: rdar://63465931
This commit is contained in:
@@ -866,6 +866,7 @@ static bool emitAnyWholeModulePostTypeCheckSupplementaryOutputs(
|
||||
// Copy the settings from the module interface to add SPI printing.
|
||||
ModuleInterfaceOptions privOpts = Invocation.getModuleInterfaceOptions();
|
||||
privOpts.PrintSPIs = true;
|
||||
privOpts.ModulesToSkipInPublicInterface.clear();
|
||||
|
||||
hadAnyError |= printModuleInterfaceIfNeeded(
|
||||
Invocation.getPrivateModuleInterfaceOutputPathForWholeModule(),
|
||||
|
||||
Reference in New Issue
Block a user