Alexis Laferrière
3d611e2a85
Sema: Simplify warning about @_implementationOnly being deprecated
2024-04-22 14:44:44 -07:00
Alexis Laferrière
0a25248e4b
Test: Expect warning on deprecated @_implementationOnly in tests
2024-04-22 13:08:20 -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
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
Alexis Laferrière
d221c1310f
[Tests] Update tests using @_implementationOnly imports to use library-evolution
2023-07-05 16:20:42 -07:00
Doug Gregor
791a1bd7e5
Adjust types for @preconcurrency in the @_implementationOnly override
...
Fixes rdar://96338926.
2022-07-05 12:45:19 -07:00