[AST] NFC: Rename function type isolation NonisolatedCaller to NonisolatedNonsending

This reduces the number of ways we refer to caller isolated async
functions and matches the name to the attribute spelling.
This commit is contained in:
Pavel Yaskevich
2025-08-05 17:22:10 -07:00
parent eff13b7efe
commit 53ef38e31b
14 changed files with 34 additions and 34 deletions

View File

@@ -7383,7 +7383,7 @@ detail::function_deserializer::deserialize(ModuleFile &MF,
auto isolation = swift::FunctionTypeIsolation::forNonIsolated();
if (rawIsolation == unsigned(FunctionTypeIsolation::NonIsolated)) {
// do nothing
} else if (rawIsolation == unsigned(FunctionTypeIsolation::NonIsolatedCaller)) {
} else if (rawIsolation == unsigned(FunctionTypeIsolation::NonIsolatedNonsending)) {
isolation = swift::FunctionTypeIsolation::forNonIsolatedCaller();
} else if (rawIsolation == unsigned(FunctionTypeIsolation::Parameter)) {
isolation = swift::FunctionTypeIsolation::forParameter();