<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/99758>99758</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format adding spaces around the arrow operator
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
winterz
</td>
</tr>
</table>
<pre>
Since upgrading from v17.0.6 to 18 code like this:
```
void UiIntegration::requestNavigateToCode(const QUrl &url, int lineNumber, int columnNumber)
{
if (UiIntegration::instance())
emit UiIntegration::instance()->navigateToCode(url, lineNumber, columnNumber);
}
```
is being reformatted like this:
```
void UiIntegration::requestNavigateToCode(const QUrl &url, int lineNumber, int columnNumber)
{
if (UiIntegration::instance())
emit UiIntegration::instance() -> navigateToCode(url, lineNumber, columnNumber);
}
```
ie. spaces are being added around the arrow operator. I don't want those spaces
is there a configuration to control this behavior that I'm missing?
else I think this is a bug.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzkVMuOnDAQ_BpzaQ0y5n3gsI-MNJeVomQ_wNg94KyxJ3Yzq-TrIwYmya4mOeUWhAxYXV1FlW0ZoxkcYsfKe1Y-JnKm0Yfu1TjC8D3pvf7WfTJOIcynIUht3ADH4Cc4Z3XK0wrIQ9aA8hrBmhcEGk1k-R3jj4xfx4pv9-Xz7I2GZ3NwhEOQZLxb6vO7gF9njPQkz2aQhJ_9g9fIRKO8iwQfn4MFJqo5WCYewDgCaxw-zVOP4TqjvJ0nd51rN_r6fn0BADBHYKK5wW5cJOnUQrggr2DYLpwM3RL9FrZj-Qf3Xv-m-K3a90rz-6vYx5umraOJ0OMSQcCjD5MkQn3L9v_GcFgch39l-V-MxxTiSSqMIANuIUitUYMMfnYaaESQIfhX8CcMknxIAQ6gvWOiJniVjoBGH3Hr8y5WGjEgSFDeHc0wr3-8bC7lHQVvLwFDj6M8Gx-ARklwYKKeYDIxGjewfL82QxsRDku9e1lRJoKEfh7StSDRXa7bvJUJdlktsqLhVZElY9cIVbc6U2XVZoWoat4ILsuWl7zpc67KxHSCi4LXgmc5LzhPdaVFprDoy1ocS1Ss4DhJY1Nrz1Pqw5CYGGfs2rYum8TKHm28nDRCKCvdsFtXMRNiOXtCt8B2_TxEVnBrIsVfjciQxe531OL_EsPPXP6QQzIH241Ep8sGEXsm9oOhce5T5Scm9gvF9tidgv-CipjYX4RHJvar9nMnfgQAAP__iw2c7g">