mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user