mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Sema] Intro @_spiOnly attribute and import filter
Introduce the attribute and basic import filter logic.
This commit is contained in:
@@ -88,7 +88,11 @@ enum class ImportFlags {
|
||||
WeakLinked = 0x40,
|
||||
|
||||
/// Used for DenseMap.
|
||||
Reserved = 0x80
|
||||
Reserved = 0x80,
|
||||
|
||||
/// The imported module can only be referenced from SPI decls, or
|
||||
/// implementation details.
|
||||
SPIOnly = 0x100
|
||||
};
|
||||
|
||||
/// \see ImportFlags
|
||||
|
||||
Reference in New Issue
Block a user