swift
a18f72c2
- Constify `DiagnosticState::determineBehavior`
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
124 days ago
Constify `DiagnosticState::determineBehavior` 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.
References
#82724 - [Sema] Avoid applying diagnostic hack to caller-side expression macros
Author
hamishknight
Parents
98b1494b
Loading