Frontend: Remove the -skip-import-in-public-interface flag.

This flag is unsafe since the compiler does not verify that the resulting
public interface will compile with the module import removed. The modern
alternative to this flag is `@_spiOnly import`. Since the flag is no longer
used by any projects it should be removed.

Resolves rdar://134351088.
This commit is contained in:
Allan Shortlidge
2025-02-09 18:52:09 -08:00
parent 022596473f
commit d00e102fd1
6 changed files with 0 additions and 43 deletions

View File

@@ -339,11 +339,6 @@ static void printImports(raw_ostream &out,
continue;
}
if (llvm::count(Opts.ModulesToSkipInPublicInterface,
importedModule->getName().str())) {
continue;
}
llvm::SmallSetVector<Identifier, 4> spis;
M->lookupImportedSPIGroups(importedModule, spis);