Fix for
https://github.com/llvm/llvm-project/issues/47624
https://bugs.llvm.org/show_bug.cgi?id=48280
Used token for counting length instead of logical symbols.
That leads to wrong length count with utf8 symbols
Differential D124260
[clang-format] ColumnLimit check for trailing comments alignment acts wrong for multi-byte UTF-8 #47624 HazardyKnusperkeks on Apr 22 2022, 7:20 AM. Authored by
Details Fix for Used token for counting length instead of logical symbols.
Diff Detail
Unit Tests Event TimelineComment Actions Hi, could you please reupload your patch with the full diff context? And please add a regression test. Comment Actions There seem to be failing tests. Did you run the FormatTests?
|