mirror of
https://github.com/apple/swift.git
synced 2026-10-04 11:58:22 +02:00
I did this by: 1. Standardizing the constructors of diagnostic emitters to take the same parameters. 2. Changed the names of emitters so that they match the names of errors so I can use the XMACRO. 3. Changed the various switches that needed to be edited previously for verbatim and non-verbatim errors to be driven by the XMACROS now. This required the former two changes to compile successfully. The result is that adding new errors is much simpler and easier to do.