mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Gate SPI operator fix behind EnforceSPIOperatorGroup
This new check is source breaking. Let's gate it behind an opt-in flag for now and enable it by default on a new language mode or similar.
This commit is contained in:
@@ -146,6 +146,7 @@ UNINTERESTING_FEATURE(SameElementRequirements)
|
||||
UNINTERESTING_FEATURE(SendingArgsAndResults)
|
||||
UNINTERESTING_FEATURE(CheckImplementationOnly)
|
||||
UNINTERESTING_FEATURE(CheckImplementationOnlyStrict)
|
||||
UNINTERESTING_FEATURE(EnforceSPIOperatorGroup)
|
||||
|
||||
static bool findUnderscoredLifetimeAttr(Decl *decl) {
|
||||
auto hasUnderscoredLifetimeAttr = [](Decl *decl) {
|
||||
|
||||
Reference in New Issue
Block a user