mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[AST/Sema] SE-0487: Remove @preEnumExtensibility attribute
This commit is contained in:
@@ -3327,8 +3327,7 @@ suppressingFeatureAddressableTypes(PrintOptions &options,
|
||||
static void
|
||||
suppressingFeatureNonexhaustiveAttribute(PrintOptions &options,
|
||||
llvm::function_ref<void()> action) {
|
||||
ExcludeAttrRAII scope1(options.ExcludeAttrList, DeclAttrKind::Nonexhaustive);
|
||||
ExcludeAttrRAII scope2(options.ExcludeAttrList, DeclAttrKind::PreEnumExtensibility);
|
||||
ExcludeAttrRAII scope(options.ExcludeAttrList, DeclAttrKind::Nonexhaustive);
|
||||
action();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user