Merge pull request #67405 from hborla/enable-extension-macros

[Macros] Remove the `ExtensionMacros` experimental feature flag.
This commit is contained in:
Holly Borla
2023-07-19 17:59:21 -07:00
committed by GitHub
14 changed files with 31 additions and 24 deletions

View File

@@ -7282,6 +7282,9 @@ ERROR(extension_macro_invalid_conformance,none,
ERROR(macro_attached_to_invalid_decl,none,
"'%0' macro cannot be attached to %1",
(StringRef, DescriptiveDeclKind))
ERROR(conformance_macro,none,
"conformance macros are replaced by extension macros",
())
ERROR(macro_resolve_circular_reference, none,
"circular reference resolving %select{freestanding|attached}0 macro %1",

View File

@@ -124,7 +124,6 @@ EXPERIMENTAL_FEATURE(CodeItemMacros, false)
EXPERIMENTAL_FEATURE(TupleConformances, false)
EXPERIMENTAL_FEATURE(InitAccessors, false)
EXPERIMENTAL_FEATURE(ExtensionMacros, true)
SUPPRESSIBLE_LANGUAGE_FEATURE(ExtensionMacroAttr, 0, "@attached(extension)", true)
// Whether to enable @_used and @_section attributes