[PATCH] UTF-8 support for clang-format.

Dmitri Gribenko gribozavr at gmail.com
Tue Jun 4 20:34:03 PDT 2013


  Are code points the correct thing to count here?  There are combining characters, there are double-width characters.  I think that the CJK number tests pass for the wrong reason -- the width of characters is counted as 1, not as 2, as it would be displayed on the terminal.

http://llvm-reviews.chandlerc.com/D918



More information about the cfe-commits mailing list