naggy
naggy copied to clipboard
Caret information not shown visually
In some cases, the diagnostics provided by Clang includes the character position (along with the range). That information is not being used right now. It can be useful in cases where the exact location of the error isn't clear from the diagnostic message and the range.
For e.g., in an expression like a + b + c, an error that says something along the lines of "operands for + is invalid" is ambiguous.