Konrad `ktoso` Malawski
dc5e354d69
[Concurrency] Reimplement @TaskLocal as a macro ( #73078 )
2024-05-01 20:57:20 -07:00
Konrad `ktoso` Malawski
dfcf1054dd
[Concurrency] Remove _unsafeInheritExecutor from public APIs, use #isolation ( #72578 )
2024-04-05 03:57:54 -07:00
Michael Gottesman
99e3f7fb13
[region-isolation] Make RegionBasedIsolation an upcoming feature for swift 6.
...
To make the tests pass, I had to teach sil-opt how to setup upcoming features
since it did not know how to parse them.
rdar://124100266
2024-03-05 15:15:14 -08:00
Pavel Yaskevich
dbf1146963
[Concurrency] NFC: Switch tests to use -strict-concurrency=complete instead of -warn-concurrency
2023-12-08 14:10:51 -08:00
Michael Gottesman
cb46851194
[region-isolation] Rename the experimental feature to RegionBasedIsolation.
...
This ensures that the pass is called TransferNonSendable but the experimental
feature is RegionBasedIsolation.
2023-10-26 12:01:44 -07:00
Michael Gottesman
0bad8f9b67
[region-isolation] Rename SendNonSendable.cpp -> TransferNonSendable.cpp.
2023-10-26 12:01:44 -07:00
Michael Gottesman
b53af9419c
[send-non-sendable] Add REQUIRES: asserts to concurrency tests that use SendNonSendable.
2023-08-31 19:25:23 -07:00
Michael Gottesman
026f1735b5
[send-non-sendable] Update concurrency tests so that we run them in all concurrency modes as appropriate.
...
This means that:
1. In test cases where minimal is the default (swift 5 without
-warn-concurrency), I added RUN lines for targeted, complete, and complete +
sns.
2. In test cases where complete is the default (swift 6, -warn-concurrency,
specified complete with -strict-concurrency), I added a send non-sendable run
line.
In each of these cases, I added additional expected-* lines as appropriate so
the tests can compile in each mode successfully.
2023-08-30 13:40:17 -07:00
Konrad `ktoso` Malawski
2178d9893f
[Concurrency] tasklocal withValue inside actor is safe
2022-12-09 10:22:47 +09:00