[cfe-dev] Fixits with multibyte chars

Jonathan Sauer jonathan.sauer at gmx.de
Mon Jul 16 12:36:30 PDT 2012


Hello,

> [...]
> I could of course just disable fixits when there are Unicode characters involved, but I'd like to fix this the right way. The trouble is -fdiagnostics-parseable-fixits, which is supposed to be machine-readable output, and in this case is a three-byte UTF-8 character three columns or one column? I think one column is the right way to go, but I wanted to get some other opinions before I start working on a patch.

I would prefer one column, too. If however this cannot be implemented reliably in all cases,
I think that a line which is a bit too short would be better than a line which is too long:
At least it doesn't get wrapped unintentionally.


Jonathan





More information about the cfe-dev mailing list