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:
Pavel Yaskevich
2024-02-02 13:32:00 -08:00
committed by GitHub
30 changed files with 494 additions and 72 deletions

View File

@@ -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) {
}