Skip to content

Commit aab4f10

Browse files
committed
AST: Promote BodyMacros feature to baseline.
1 parent 0ba0076 commit aab4f10

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
@@ -197,7 +197,7 @@ BASELINE_LANGUAGE_FEATURE(NoncopyableGenerics, 427, "Noncopyable generics")
197197
BASELINE_LANGUAGE_FEATURE(NoncopyableGenerics2, 427, "Noncopyable generics alias")
198198
BASELINE_LANGUAGE_FEATURE(ConformanceSuppression, 426, "Suppressible inferred conformances")
199199
SUPPRESSIBLE_LANGUAGE_FEATURE(BitwiseCopyable2, 426, "BitwiseCopyable feature")
200-
LANGUAGE_FEATURE(BodyMacros, 415, "Function body macros")
200+
BASELINE_LANGUAGE_FEATURE(BodyMacros, 415, "Function body macros")
201201
SUPPRESSIBLE_LANGUAGE_FEATURE(SendingArgsAndResults, 430, "Sending arg and results")
202202
BASELINE_LANGUAGE_FEATURE(BorrowingSwitch, 432, "Noncopyable type pattern matching")
203203
CONDITIONALLY_SUPPRESSIBLE_LANGUAGE_FEATURE(IsolatedAny, 431, "@isolated(any) function types")

lib/AST/FeatureSet.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ static bool usesFeatureCodeItemMacros(Decl *decl) {
116116
return macro->getMacroRoles().contains(MacroRole::CodeItem);
117117
}
118118

119-
UNINTERESTING_FEATURE(BodyMacros)
120119
UNINTERESTING_FEATURE(PreambleMacros)
121120
UNINTERESTING_FEATURE(TupleConformances)
122121

0 commit comments

Comments
 (0)