[PATCH] D21075: Correct invalid end location in diagnostics for some identifiers.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 00:38:23 PDT 2016


klimek added a comment.

> It's mostly about how much is "underlined". If there is only a caret, that quite often translates into a single character being pointed out, instead of an identifier (i.e. the first character). Hene the extension of the range.

Aren't we mostly doing token positions? It's basically always wrong to point at a single character, right?


https://reviews.llvm.org/D21075





More information about the cfe-commits mailing list