<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/104655>104655</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang-format with GNU style splits up three-way comparison operator
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Halalaluyafail3
</td>
</tr>
</table>
<pre>
Clang-format with GNU style doesn't recognize three-way comparison operators and will split them up. For example:
```cpp
1<=>2;
```
Clang-format with GNU style will format this to:
```cpp
1 <= > 2;
```
This is ill-formed and shouldn't be generated.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8ks-OmzAQxp_GXEZBZhwIHHzY3Sztqaf2AQwewJXBlm02TZ--AiK1qrSRR7L8b36ebz4VoxkXIsnKV1ZeM7WmyQX5VdltrHc1KGNF1jl9l29WLeNpcGFWCW4mTfDl2w-I6W4JtKO4MLwkCNS7cTG_CdIUiE43dYfezV4FE90CzlNQyYUIatFwM9ZC9NYkSBPNsPocWheAfqnZW2LihfEr4y-s4kf03h87BRNvTFyZeEcmXv-7dSyf_XcHP47SZCIk9wwGBw2YeIdPed-3PFtYu1NJ7zXGya1WH-J0BCMtmwKk80xLoRvRqIxkcUFRl2VT1dkkG6wG3Q0Dx0qrodAKUVRlw5u6U33RUWYkcjzzurhwXuK5zkVd6KrpedNz3RQVsjOnWRmbW_sx5y6MmYlxJVnwc1WWmVUd2bj3HLH_RyaGuLkgyO3dqVvHyM7cmpji30zJJEtPzbA3NMLqn1sgW4OVU0o-btJjy7AdTZrWLu_dzLDdiI_p5IP7SX1i2O6FRIbto5YPiX8CAAD__xrc33I">