<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/133873>133873</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Incorrect spacing with bitwise XOR and brace initialization
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
carlosgalvezp
</td>
</tr>
</table>
<pre>
Example input:
```cpp
lhs ^ Byte{rhs};
lhs & Byte{rhs};
lhs | Byte{rhs};
```
clang-format output with default settings:
```cpp
lhs ^ Byte { rhs };
// ^ ^ ^
lhs &Byte{rhs};
lhs | Byte{rhs};
```
[Godbolt](https://godbolt.org/z/rd3c7Es6T)
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykUk2P0zAQ_TWTi7WVP-qkOfjQ0AZxQkIcuNqOmxi5cWRPumx_PUrSZQGBhEQ0kUd6nnnzPE_n7PvROQWyAXkq9IxDTMrqFGLudbi5-1SY2L2o8zd9nYIjfpxmBHEEukZJt7DTBPQYhkxAnknzgg6qJg0ZqhOI5hXi5V-h6t2foB_9Nzob9Ng_XWK6aiRxxmlG8uxxIJ276DkgyQ7Rj33-lwEJVA1JK_crG2-Bt-TxLfeWf83eFPyXAJDN-9iZGBDkCfhhQJzWYVfmfoN2MfXA2zvwNnXCVudcfgZeAz0WnRJdLWpdOMWqvdjX7MBYMSgpLlYyy4U7mLJkljK9ZbIWwlWm8IpTLumeMlqxUrKddbLW-uI4lQcmuIE9dVftwy6E23WZoPA5z04xIQ6VKII2LuTVJpz_vAbgfDFOUkvdk5n7DHsafMb81gk9htVivxTKE_kw2piSs0jypK0f-22bxuOzz458-fiJ6LEjJmm7OM-j18HfNfo4FnMK6rfn8zjMZmfjFXi7kD-OpynFr84i8HbVlIG3D1k3xb8HAAD__8um5jo">