cor3ntin added a comment.

In D155610#4557930 <https://reviews.llvm.org/D155610#4557930>, @hazohelet wrote:

> One concern from my side is that some unicode characters like `U+FEFF` (I 
> added in test) are invisible, but it may not be a big concern because we also 
> display integer representation in parens.

This is not an easy problem to solve. `pushEscapedString` does not escape 
formatting code points, such as `U+FEFF` because doing so break a bunch of 
scripts/emojis.
There are cases where it should probably be escaped but that fully depend on 
context, and it would require grapheme clusterization, which is a lot of work 
for limited value.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D155610/new/

https://reviews.llvm.org/D155610

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to