mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Split out the state mutation into a new `updateFor` function that we call for diagnostic emission, allowing `DiagnosticTransaction::hasErrors` to query the behavior without mutating any state.
66 KiB
66 KiB