mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Frontend/Serialization] Remove ExtensibleEnums experimental flag
For now the semantics provided by `@extensible` keyword on per-enum basis. We might return this as an upcoming feature in the future with a way to opt-out.
This commit is contained in:
@@ -224,9 +224,6 @@ static bool readOptionsBlock(llvm::BitstreamCursor &cursor,
|
||||
case options_block::STRICT_MEMORY_SAFETY:
|
||||
extendedInfo.setStrictMemorySafety(true);
|
||||
break;
|
||||
case options_block::EXTENSIBLE_ENUMS:
|
||||
extendedInfo.setSupportsExtensibleEnums(true);
|
||||
break;
|
||||
default:
|
||||
// Unknown options record, possibly for use by a future version of the
|
||||
// module format.
|
||||
@@ -1508,7 +1505,6 @@ ModuleFileSharedCore::ModuleFileSharedCore(
|
||||
Bits.AllowNonResilientAccess = extInfo.allowNonResilientAccess();
|
||||
Bits.SerializePackageEnabled = extInfo.serializePackageEnabled();
|
||||
Bits.StrictMemorySafety = extInfo.strictMemorySafety();
|
||||
Bits.SupportsExtensibleEnums = extInfo.supportsExtensibleEnums();
|
||||
MiscVersion = info.miscVersion;
|
||||
SDKVersion = info.sdkVersion;
|
||||
ModuleABIName = extInfo.getModuleABIName();
|
||||
|
||||
Reference in New Issue
Block a user