<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/133971>133971</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format]: Unicode Fromatting Issue
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Xyhlon
</td>
</tr>
</table>
<pre>
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);
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJysk1-LqzwQhz_NeDOs5J9rvfDCbhH2A7zw3kYdNYc0kSR2229_0LZ7DuzVgYJghkyePAz56RjN5IhqKI5QnDK9ptmH-v_bbL3LOj_c6t5qN72NPpx1wguFaLxDXuU858AaYM2JLCWKCKLFdm-LaFzvQ6A-2Rt-zeRQ4-pM7wfCftZB94kCmohLoEguoXeYZkJrHKF2w14kuiY00YEoE47eWv9l3LRv3W3SVobVUszvJp9uWRPIbQnv7P71ywKs0WvyeEWQJ4xp2Fpkc4eAOIAQ8NHCQUJ5hPK0leIDBYgjchAVyOOTcPs3Au4I_GZ8SwFr_JpeLfsi2x-qdF2oTzTgi53xVRP-OeBsqOVQyUpnVPNSyUKqg6qyua46opEd-Mg69T5oXYxClyQOQjJSipeZqQUTBVOM84orVuWKtCJBiitB3SBHUIzO2tjc2ss592HKTIwr1VzKquSZ1R3Z-MxTqLeut26dIihmTUzxz7lkkt2T93fEoDiBbPC_R1ra4J8v_XO7JluDreeUlrgNSLQg2smkee3y3p9BtBv88Xtbgv9FfQLR7oYRRPuQvNTidwAAAP__iA4ixg">