mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #71261 from xedin/introduce-thunks-for-runtime-check-func-refs
[Sema/SILGen] DynamicActorIsolation: Implement dynamic actor isolation checks for unsafe APIs
This commit is contained in:
@@ -3880,7 +3880,7 @@ static bool usesFeatureTransferringArgsAndResults(Decl *decl) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool usesFeaturePreconcurrencyConformances(Decl *decl) {
|
||||
static bool usesFeatureDynamicActorIsolation(Decl *decl) {
|
||||
auto usesPreconcurrencyConformance = [&](const InheritedTypes &inherited) {
|
||||
return llvm::any_of(
|
||||
inherited.getEntries(),
|
||||
@@ -5930,6 +5930,9 @@ void PrintAST::visitLinearFunctionExtractOriginalExpr(swift::LinearFunctionExtra
|
||||
void PrintAST::visitLinearToDifferentiableFunctionExpr(swift::LinearToDifferentiableFunctionExpr *expr) {
|
||||
}
|
||||
|
||||
void PrintAST::visitActorIsolationErasureExpr(ActorIsolationErasureExpr *expr) {
|
||||
}
|
||||
|
||||
void PrintAST::visitPropertyWrapperValuePlaceholderExpr(swift::PropertyWrapperValuePlaceholderExpr *expr) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user