Frontend: Remove support for -experimental-spi-imports flag.

Its functionality has been superseded by `@_spiOnly import`. There are no
longer any known clients and the flag was already unsupported in Swift 6, so
the functionality is now removed (but the flag is only deprecated for Swift 5).

Resolves rdar://136867210.
This commit is contained in:
Allan Shortlidge
2024-09-30 23:35:08 -07:00
parent 88ac67d377
commit 9e93b7b730
6 changed files with 20 additions and 128 deletions

View File

@@ -67,10 +67,6 @@ struct ModuleInterfaceOptions {
/// Flags which appear only in the .package.swiftinterface.
InterfaceFlags PackageFlags = {};
/// Print imports with both @_implementationOnly and @_spi, only applies
/// when PrintSPIs is true.
bool ExperimentalSPIImports = false;
/// Print imports that are missing from the source and used in API.
bool PrintMissingImports = true;