RFC: Diagnostics formatting for diagnostic messages without relation to source syntax

For reference, the compiler's adoption of this API is at [Diagnostics] Use the swift-syntax formatting for invalid source locations, too by DougGregor · Pull Request #80874 · swiftlang/swift · GitHub.

Doug

3 Likes

Looks good to me, thank you, Doug.