swift
e7fcee69
- [Macros] Use `MacroExpansionContext.addDiagnostics` for thrown errors
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
2 years ago
[Macros] Use `MacroExpansionContext.addDiagnostics` for thrown errors Rather than open-coding the mapping of thrown errors to diagnostics, use `MacroExpansionContext.addDiagnostics`. It already does the right thing.
References
#64785 - [Macros] Use `MacroExpansionContext.addDiagnostics` for thrown errors
Author
DougGregor
Parents
cff79e63
Loading