saaadhu / naggy

A live compiler diagnostics extension for Atmel Studio
18 stars 4 forks source link

Caret information not shown visually #3

Open saaadhu opened 13 years ago

saaadhu commented 13 years ago

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.