Commit Graph

4 Commits

Author SHA1 Message Date
Michael Gottesman
5d4239af57 [concurrency] Add new isolation kind CallerIsolationInheriting.
Right now it is basically a version of nonisolated beyond a few simple cases
like constructors/destructors where we are pretty sure we want to not support
this.

This is part of my bringup strategy for changing nonisolated/unspecified to be
caller isolation inheriting.
2025-01-02 13:18:30 -08:00
Allan Shortlidge
4f728cda40 Concurrency: Look through l-value types in ActorIsolation::getActor().
When computing the actor type for an expression, be sure to look through
l-value types to get the underlying type.

Resolves rdar://139470254.
2024-11-07 18:32:52 -08:00
Michael Gottesman
12538618fb [gardening] Move ActorIsolation method definitions from Decl.cpp -> ActorIsolation.cpp.
Just noticed this while working in the general area.
2024-10-29 16:08:09 -07:00
Michael Gottesman
3843899c19 [concurrency] Behind the flag UnspecifiedMeansMainActorIsolated, try inferring by default main actor isolation instead of nonisolated for unspecified.
Just to play with.
2024-09-18 13:23:23 -07:00