mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge branch 'main' into cdecl-global-function-checking
This commit is contained in:
@@ -1739,8 +1739,7 @@ bool swift::addNonIsolatedToSynthesized(NominalTypeDecl *nominal,
|
||||
return false;
|
||||
|
||||
ASTContext &ctx = nominal->getASTContext();
|
||||
value->getAttrs().add(
|
||||
new (ctx) NonisolatedAttr(/*unsafe=*/false, /*implicit=*/true));
|
||||
value->getAttrs().add(NonisolatedAttr::createImplicit(ctx));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user