https://llvm.org/bugs/show_bug.cgi?id=31909
Bug ID: 31909 Summary: formatter doesn't correctly count length of Unicode codepoints Product: clang Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: dch...@google.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified It looks like column count is based strictly on byte count, which means that attempts to line up code on different rows fails when things like U+2026 are involved. Input: #define MACRO() \ int test; \ // This is my test comment in a macro… This is my test comment in a macro… \ // This is my test comment in a macro. This is my test comment in a macro. Output: #define MACRO() \ int test; \ // This is my test comment in a macro… This is my test comment in a macro… \ // This is my test comment in a macro. This is my test comment in a macro. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs