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:
@@ -360,6 +360,9 @@ static void ParseModuleInterfaceArgs(ModuleInterfaceOptions &Opts,
|
||||
Opts.PrintSPIs = true;
|
||||
}
|
||||
}
|
||||
for (auto val: Args.getAllArgValues(OPT_skip_import_in_public_interface)) {
|
||||
Opts.ModulesToSkipInPublicInterface.push_back(val);
|
||||
}
|
||||
}
|
||||
|
||||
/// Save a copy of any flags marked as ModuleInterfaceOption, if running
|
||||
|
||||
Reference in New Issue
Block a user