Issue |
133971
|
Summary |
[clang-format]: Unicode Fromatting Issue
|
Labels |
|
Assignees |
|
Reporter |
Xyhlon
|
clang-format version 19.1.1
Deletes / Formats incorrectly when a unicode character is present on the line and the text isn't following the formatting rules.
Input:
```cpp
auto x = std::format("σ{}", 2+ 1);
auto y = std::format("σ{}", 2 + 1 );
```
output:
```cpp
auto x = std::format("σ{}", 2+ 1);
auto y = std::format("σ{}", 2 + 1 ;
```
expected output:
```cpp
auto x = std::format("σ{}", 2 + 1);
auto y = std::format("σ{}", 2 + 1);
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs