mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Allow loading package interface if in same package.
Add a new flag to enable package interface loading. Use the last value of package-name in case of dupes. Rename PrintInterfaceContentMode as InterfaceMode. Update diagnostics. Test package interface loading with various scenarios. Test duplicate package-name.
This commit is contained in:
@@ -56,7 +56,7 @@ struct ModuleInterfaceOptions {
|
||||
std::string IgnorablePrivateFlags;
|
||||
|
||||
/// Prints package, SPIs, or public/inlinable decls depending on the mode.
|
||||
PrintInterfaceContentMode InterfaceContentMode = PrintInterfaceContentMode::Public;
|
||||
InterfaceMode InterfaceContentMode = InterfaceMode::Public;
|
||||
|
||||
/// Print imports with both @_implementationOnly and @_spi, only applies
|
||||
/// when PrintSPIs is true.
|
||||
|
||||
Reference in New Issue
Block a user