<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/128847>128847</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Wrong formatting when 'new' is used as variable name in C
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Tamaranch
</td>
</tr>
</table>
<pre>
Follow-up to https://github.com/llvm/llvm-project/issues/59188#issuecomment-2680625438
clang-format outputs
```c
int maximized = new &STATE_MAXIMIZED;
```
instead of
```c
int maximized = new & STATE_MAXIMIZED;
```
**version**: 19.1.7 on arch linux, and this is not fixed by https://github.com/llvm/llvm-project/pull/128287 (see https://github.com/llvm/llvm-project/issues/59188#issuecomment-2683946469).
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJy0Uk9r3D4Q_TTjy7BGHlu2dPDBycaQQ06_wK_0UiRba6vI0mLJu0k_fVmnpempf6DwQIyG95iZ91SMdvLGtMDvgB8ztaU5rO2zWtSq_DBnOoyvbR-cC9fDdsYUcE7pHKHsgHqgfrJp3nQ-hAWod-7y_Tmc1_DZDAmotzFuJgL1XBZCAJX7xxCWxfh0oFqwmnhVCmAdsG5wyk-HU1gXlTBs6byleOvU7A0DsM76hIt6sYv9YkaE8ojeXBGo_u-5e3749NR9eHx6_PhwhPLuPXVnxmTUiOH025r4S9Eb6IaLWaMN_q2AssNC5kXeYPCo1mFGZ_32AnSPyo-YZhvRRvQh4cm-mBH1658f97w5B9QXJEg0CCSiMf_AolJWdVVLIJlnY1uOspQqM23RVIzXhSwpm9tGjFyxUyUbXhk2aE1NI9RQk2BNU2qR2ZYYcUZUM0m8pJwKJYU2fNCV4FJzqJhZlHX5bbw8rFO2z9EWJETVZE5p4-IeVaL3OQGiW3jXdl9Lb1OEijkbU_yhlGxye8x_IvIj_r8GP-Fbnayf8Dobj0CNN1eg5mbRFs2IKuJFrVZpZ9CrxaD1eJ9tq2v__tzfFru09DUAAP__p8oXZA">