Skip to content

Commit 61ab4d5

Browse files
committed
[Frontend] Remove TypeWrappers flag and associated attributes
1 parent e2b22d9 commit 61ab4d5

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

include/swift/Basic/Features.def

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,11 +132,6 @@ EXPERIMENTAL_FEATURE(SendableCompletionHandlers, false)
132132
/// Enables opaque type erasure without also enabling implict dynamic
133133
EXPERIMENTAL_FEATURE(OpaqueTypeErasure, false)
134134

135-
/// Whether to enable experimental @typeWrapper feature which allows to
136-
/// declare a type that controls access to all stored properties of the
137-
/// wrapped type.
138-
EXPERIMENTAL_FEATURE(TypeWrappers, false)
139-
140135
/// Whether to perform round-trip testing of the Swift Swift parser.
141136
EXPERIMENTAL_FEATURE(ParserRoundTrip, false)
142137

utils/gyb_syntax_support/AttributeKinds.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -692,11 +692,6 @@ def __init__(self, name, swift_name=None):
692692
ABIStableToAdd, ABIStableToRemove, APIStableToAdd, APIStableToRemove,
693693
code=133),
694694

695-
SimpleDeclAttribute('typeWrapper', 'TypeWrapper',
696-
OnStruct, OnClass, OnEnum,
697-
ABIStableToAdd, ABIStableToRemove, APIStableToAdd, APIStableToRemove, # noqa: E501
698-
code=134),
699-
700695
SimpleDeclAttribute('_spiOnly', 'SPIOnly',
701696
OnImport, UserInaccessible,
702697
ABIStableToAdd, ABIStableToRemove, APIStableToAdd, APIStableToRemove, # noqa: E501
@@ -706,11 +701,6 @@ def __init__(self, name, swift_name=None):
706701
APIBreakingToAdd, APIStableToRemove, ABIStableToAdd, ABIStableToRemove, # noqa: E501
707702
code=136),
708703

709-
SimpleDeclAttribute('typeWrapperIgnored', 'TypeWrapperIgnored',
710-
OnVar,
711-
ABIStableToAdd, ABIStableToRemove, APIStableToAdd, APIStableToRemove, # noqa: E501
712-
code=137),
713-
714704
SimpleDeclAttribute('_noMetadata', 'NoMetadata',
715705
OnGenericTypeParam,
716706
UserInaccessible,

0 commit comments

Comments
 (0)