<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/112176>112176</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            arithmetic expressions involving braces are misformatted as pointers/references
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            c++,
            clang-format,
            regression
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          kadircet
      </td>
    </tr>
</table>

<pre>
    expected formatting:
```cpp
auto x = Foo{1} * Foo{2};
auto x = 1 * Foo{2};
auto x = bar * Foo{2};
```

actual formatting:
```cpp
auto x = Foo{1} *Foo{2};
auto x = 1 *Foo{2};
auto x = bar *Foo{2};
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykUVHL2zAM_DXKi2mxlbRuHvzQLuR_KI6aeHPiYDul-_cjbfj2MDYKA4G54ySdfJSSG2ZmA6cbnJqC1jyGaH5Q76LlXHSh_2n4ubDN3It7iBPl7OYByivIBuQVzvJddlneDK05iKeAshFtCKBvCnQjAK87RNANlLc_xOoDTUfxb6ovIzt8t9q8kv9P3x_Y_sj1v0wXvSn7uqypYKM0Xi51jaiK0ZzsvZT1ifliUVPZy3tH1b2rdN0prtkWzqDESklVybrSUh11XRHaUlPP6kylgkryRM4fvX9MxxCHwqW0slEKlT4Xnjr26ZU_ogW8vQoBv23Y0zwc3t_3RUYeIqfkwrxRp6aIZht96NYhQSW9Szn9XpZd9mwoujxOnJ0V_Fz29iTc_Aj-4eZBdJEsJ0GRxeTSHhj3gpJYgpszxwTYRr5z5NlyKtbozZjzkrZIsQVsB5fHtTvaMAG22_79OSwxfGebAdvX5dug_fiHwV8BAAD__y684Lo">