Skip to content

Commit ec13858

Browse files
committed
AST: Promote BorrowingSwitch feature to baseline.
1 parent c8a6a50 commit ec13858

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

include/swift/Basic/Features.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ SUPPRESSIBLE_LANGUAGE_FEATURE(ConformanceSuppression, 426, "Suppressible inferre
199199
SUPPRESSIBLE_LANGUAGE_FEATURE(BitwiseCopyable2, 426, "BitwiseCopyable feature")
200200
LANGUAGE_FEATURE(BodyMacros, 415, "Function body macros")
201201
SUPPRESSIBLE_LANGUAGE_FEATURE(SendingArgsAndResults, 430, "Sending arg and results")
202-
LANGUAGE_FEATURE(BorrowingSwitch, 432, "Noncopyable type pattern matching")
202+
BASELINE_LANGUAGE_FEATURE(BorrowingSwitch, 432, "Noncopyable type pattern matching")
203203
CONDITIONALLY_SUPPRESSIBLE_LANGUAGE_FEATURE(IsolatedAny, 431, "@isolated(any) function types")
204204
LANGUAGE_FEATURE(IsolatedAny2, 431, "@isolated(any) function types")
205205
LANGUAGE_FEATURE(ObjCImplementation, 436, "@objc @implementation extensions")

lib/AST/FeatureSet.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,6 @@ UNINTERESTING_FEATURE(DynamicActorIsolation)
422422

423423
UNINTERESTING_FEATURE(NonfrozenEnumExhaustivity)
424424

425-
UNINTERESTING_FEATURE(BorrowingSwitch)
426-
427425
UNINTERESTING_FEATURE(ClosureIsolation)
428426

429427
static bool usesFeatureConformanceSuppression(Decl *decl) {

0 commit comments

Comments
 (0)