Commit d200644
committed
Use the strict concurrency level to make decisions.
`isConcurrencyChecked()` was being used as a proxy for
`-warn-concurrency` that didn't account for Swift 6. Replace
checks against it within the current module with checks against the
strict concurrency level, which subsumes the Swift 6 check and can
account for the difference between "limited" and "on".
`isConcurrencyChecked()` is used now used exclusively to mean "treat a
missing Sendable conformance as an explicitly-non-Sendable type".1 parent 7a724c4 commit d200644
File tree
5 files changed
+21
-15
lines changed- lib
- IDE
- Sema
- test
- ClangImporter
- Concurrency
5 files changed
+21
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
750 | 750 | | |
751 | 751 | | |
752 | 752 | | |
753 | | - | |
754 | | - | |
| 753 | + | |
755 | 754 | | |
756 | 755 | | |
757 | 756 | | |
| |||
769 | 768 | | |
770 | 769 | | |
771 | 770 | | |
772 | | - | |
| 771 | + | |
773 | 772 | | |
774 | 773 | | |
775 | 774 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
611 | | - | |
612 | | - | |
613 | | - | |
614 | 611 | | |
615 | 612 | | |
616 | 613 | | |
| |||
2118 | 2115 | | |
2119 | 2116 | | |
2120 | 2117 | | |
2121 | | - | |
| 2118 | + | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
2122 | 2122 | | |
2123 | 2123 | | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
2124 | 2128 | | |
2125 | 2129 | | |
2126 | 2130 | | |
| |||
3893 | 3897 | | |
3894 | 3898 | | |
3895 | 3899 | | |
3896 | | - | |
3897 | | - | |
| 3900 | + | |
| 3901 | + | |
3898 | 3902 | | |
3899 | 3903 | | |
| 3904 | + | |
| 3905 | + | |
| 3906 | + | |
| 3907 | + | |
| 3908 | + | |
| 3909 | + | |
3900 | 3910 | | |
3901 | 3911 | | |
3902 | 3912 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
358 | 357 | | |
359 | 358 | | |
360 | 359 | | |
361 | | - | |
362 | | - | |
363 | 360 | | |
364 | 361 | | |
365 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments