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

    <tr>
        <th>Summary</th>
        <td>
            Strange multiplication operator alignment in recent clang-format
        </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>
    Hi,

We are bumping clang-format from:
`15_15~%2b%2b20220316052642%2b11a12544b5fd-1~exp1~20220316172739.191`
to:
`17_17~%2b%2b20230328053227%2b498e1506981f-1~exp1~20230328173331.583`

And we get a strange multiplicator operator alignment in the following code:

```cpp
template <typename T>
struct Foo
{
 Foo(T){}
};

template <typename T>
void foo(T x)
{
 return Foo{x * T{123}};
}
```

Leads to the following with default settings:

```cpp
template <typename T> struct Foo {
 Foo(T) {}
};

template <typename T> void foo(T x) { return Foo{x *T{123}}; }
```

Note how the `*` is no longer centered, instead attached to the `T`. I've been reading through the Release Notes and couldn't find any new setting that might affect this.

Do you know if this is expected, or can we configure it with some option?

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyclE1v4zYTxz8NfRnE4IvefNAhiR_jKVD00AbocUGJI4ktRQrkKE56yGcvJNkbJ7ttgQUMmuCM_v-ZH8HRKdneI9Ysf2D5cadnGkKsWx1dSL12z_jXtGuCea3_b5l8ZPzI-P22_o6gI0Izj5P1PbRO-_6uC3HUBF0MI1OXRFZwkX8R-RuTuWzWRXIpuRIFz2WRyfVICC1knmVN3pk78YYvk3i7polSluqwFwfBCr6JUvigX34R5Ud9xZWseK6kLNej7FChyHlxqER3o7-miVIpJfZ5pb7qb-u9N3BG6JFAQ6KofY8wzo7s5GyrKUQIE8Z1o53t_YiewHqgAaELzoXzyiYYfC_3WvT2a6fp0hGOk9OEwNQjvU7o9YjwxNT_tnCiOLcEpxAuAuXDtlmPZPXE5GE5K4_X-JGph1vL_zB4DtZAt2nBy6L2yScizdGvduXDCzB5D0-sfBBSLV63dl9ruDZ5W8bPqE0CCp8YnS0NYLDTsyNISGR9n34cGrzzgu-hgh9kBd9gWpS-w-YzGvh3Kr8EQhjCeaWyxOSSBzaBD-CC7zFCi54womHyEaxPhNqAJtLtgOYKlBX8iRV8Dz8xWT4jNIgeImqzMKYhhrkf1sRf0aFOCItxAu0NtGF2xjNZEnTWG9D-FTyer5cBNGiC0fYDge46bAlosGl_28UxwGuY4U8fzmC7Nb60gC8TtrQVHiK02i-vqg2-s_0cESxt15_CiBAmssEzddokd6ZW5qAOeoe1KCrOS3Wost1QYyeRc9WaFkVbamx11aBWmFWi06oSO1tf3veBl0LxbK-1VGhMUZkmz8qsYhnHUVu3d-553IfY72xKM9aFKKt853SDLq2DUcrb6cakXEZlrJfP7pq5TyzjziZK70JkyWH927cTwwb_DyMj4nK_H-bobo6uHoim9SHIE5On3tIwN_s2jEyeFrvL390Uwx_YEpOntYnE5Gnt4-8AAAD__8muwDM">