Commit Graph

6 Commits

Author SHA1 Message Date
Angela Laar
81e70cc984 [test] Grouped preconcurrency errors 2024-03-11 11:17:06 -07:00
Angela Laar
d6f328b338 [Sema] Check that all callee decls in a function scope have attribute before downgrading diagnostic to warning 2024-03-10 19:43:06 -07:00
Angela Laar
0daad82b8b [Sema] Propagate @preconcurrency attribute to grouped diagnostics feature 2024-03-10 19:43:06 -07:00
Holly Borla
11cb94faa5 [Concurrency] Use .limitBehaviorUntilSwiftVersion for concurrency diagnostics
that are suppressed or downgraded until Swift 6.

There are a few benefits to using a `UntilSwiftVersion` diagnostic engine API,
including the diagnostic wrapping to communicate that the mistake will be an
error in Swift 6, and to include the mistake in the frontend statistic for
Swift 6 errors.
2024-01-31 17:08:01 -08:00
Angela Laar
aed7edfdcf Only group isolation errors if needed 2023-12-14 10:27:52 -08:00
Angela Laar
737665cbac [Sema] Group isolation errors in checkApply 2023-12-12 16:23:13 -08:00