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:
@@ -298,11 +298,6 @@ public:
|
||||
/// \see ModuleDecl::isImplicitDynamicEnabled
|
||||
bool EnableImplicitDynamic = false;
|
||||
|
||||
/// Enables the "fully resilient" resilience strategy.
|
||||
///
|
||||
/// \see ResilienceStrategy::Resilient
|
||||
bool EnableLibraryEvolution = false;
|
||||
|
||||
/// If set, this module is part of a mixed Objective-C/Swift framework, and
|
||||
/// the Objective-C half should implicitly be visible to the Swift sources.
|
||||
bool ImportUnderlyingModule = false;
|
||||
|
||||
Reference in New Issue
Block a user