Skip to content

Commit b46f23b

Browse files
committed
AST: Promote BitwiseCopyable feature to baseline.
1 parent b85da32 commit b46f23b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ BASELINE_LANGUAGE_FEATURE(BuiltinCreateTask, 0, "Builtin.createTask and Builtin.
192192
SUPPRESSIBLE_LANGUAGE_FEATURE(AssociatedTypeImplements, 0, "@_implements on associated types")
193193
LANGUAGE_FEATURE(BuiltinAddressOfRawLayout, 0, "Builtin.addressOfRawLayout")
194194
BASELINE_LANGUAGE_FEATURE(MoveOnlyPartialConsumption, 429, "Partial consumption of noncopyable values")
195-
LANGUAGE_FEATURE(BitwiseCopyable, 426, "BitwiseCopyable protocol")
195+
BASELINE_LANGUAGE_FEATURE(BitwiseCopyable, 426, "BitwiseCopyable protocol")
196196
BASELINE_LANGUAGE_FEATURE(NoncopyableGenerics, 427, "Noncopyable generics")
197197
BASELINE_LANGUAGE_FEATURE(NoncopyableGenerics2, 427, "Noncopyable generics alias")
198198
SUPPRESSIBLE_LANGUAGE_FEATURE(ConformanceSuppression, 426, "Suppressible inferred conformances")

lib/AST/FeatureSet.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ static bool usesFeatureExtractConstantsFromMembers(Decl *decl) {
249249
return decl->getAttrs().hasAttribute<ExtractConstantsFromMembersAttr>();
250250
}
251251

252-
UNINTERESTING_FEATURE(BitwiseCopyable)
253252
UNINTERESTING_FEATURE(FixedArrays)
254253
UNINTERESTING_FEATURE(GroupActorErrors)
255254

0 commit comments

Comments
 (0)