<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59066>59066</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Regression with clang-format 14 & 15
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
OldBragon
</td>
</tr>
</table>
<pre>
The line
```
LongClassName<AnotherLongClassName>{param}->longFunctionName(param0, param1);
```
is formatted to:
```
LongClassName<AnotherLongClassName> { param } -> longFunctionName(param0, param1);
```
with clang 13 and the attached configuration file, and formatted to:
```
LongClassName<AnotherLongClassName>
{
param
} -> longFunctionName(param0, param1);
```
with clang 14 & 15.
Reproduced with https://clang-format-configurator.site/
Thanks
[clang-format.txt](https://github.com/llvm/llvm-project/files/10042646/clang-format.txt)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1ks1u3CAQx58GX9BaBmxsHzjsR3OqWinKC7A2tmkxrAA37dt3YLfdJuohVVRsGYYZ_vObwWc3_hBPi8JGW4WqE6r2iFe3N5sfnZ2PRobwSa4KsePeurgo_2r7A2oPF-nlitrTDkwD7ofNDlE7myNol90VokecVwTRHrHDX3PqgCfnVxmjGnF0iO3fg4aB7ZoTViec8PD7-J51XPBgpJ0xYVhagIQWAq4cFiAenJ30vHmZ1PGkjUqqKewtVWEYb2367wNQ4t1I43oZL7b-Q_E1RpRj0pS3yPx9VBfvxm2AKnPsEuMlpGrpA7z55O7aiN29U86XQUeVYrLI0yLt13CTbQ5_nirj94iaE1C_VJ4h2XYuB7eCYcy3X9MOcL6oIYKZ7iLATKqqprzmr3iyMlSesxZKEM67tuOk74tRsLFnvSyijkaJRzV7FUK633s_bir3tuBi80b8M6UOYcuYTV9xXixiUnwa66E6d0PbUMUb3rGJMt5LJhtKp8LIszJBQKMQpVY94ywBa-hToQWtKCWEdKSpGenLVg7NxKhiDe3Sg-pKrVKbMnGUzs-FFxnpvM0BnEaHGO5O-P_0bJXK6UBfbnFxXnw248HL2dkiJxcZ_idV1VKE">