mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add an optional language feature for Library Evolution
Replace the one-off compiler flag for Library Evolution with an optional language feature. This makes the `hasFeature(LibraryEvolution)` check work in an `#if`, and is otherwise just cleanup. Tracked by rdar://161125572.
This commit is contained in:
@@ -308,6 +308,8 @@ UPCOMING_FEATURE(ImmutableWeakCaptures, 481, 7)
|
||||
/// safety.
|
||||
MIGRATABLE_OPTIONAL_LANGUAGE_FEATURE(StrictMemorySafety, 458, "Strict memory safety")
|
||||
|
||||
OPTIONAL_LANGUAGE_FEATURE(LibraryEvolution, 0, "Library evolution")
|
||||
|
||||
// Experimental features
|
||||
|
||||
EXPERIMENTAL_FEATURE(StaticAssert, false)
|
||||
|
||||
Reference in New Issue
Block a user