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

    <tr>
        <th>Summary</th>
        <td>
            clang-format-18 puts blanks around `->` in Qt `emit` statements.`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang-format
      </td>
    </tr>

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

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

<pre>
    Up to clang-format-17:
```
    emit cls->meth();
```

Whereas clang-format-18 and 19:
```
    emit cls -> meth();
```
There is no good reason for the blanks around `->`; everywhere else `->` has no surrounding blanks.

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx8kUGL4zwMhn-NcxENthI3ycGHlu_rfWGXPTuJmnjGsYutdJh_v7gUdijsgMEgW8-L9Nic3RKIjNBnof-r7M5rTObtY2d-p2qM86f5dQOOMHkblsM1ps3yQXWiOQl5Ekf5PPIEAECbY5h8Pojm_414FdgLHERzfvkr5On3SolsfuH2YMMMavgeD4UP3wX8LHRwGUKEJcYZSlYMcI0JeCUYvQ3vGWyKe5hBHGUhltbmDHSn9PnxAJDP9OUVVvsg5j09Gl1YnqRayFM1m2YemsFWZFTXdEM_tF1TrQYHdR2aXray0_2s-ulqR7weB8LWqkHPlTMoUUuFnWq1Uk094nTUVqu5H5XtplG0kjbrfO39fatjWiqX805GYau1rrwdyeeHQ8SvCxWIxWoype8w7ksWrfQuc_5LYseezKuG2875n1sCF-AHl0IxUgqZLdNGgXMtjrLakzcr8y0Xj3gReFkcr_tYT3ETeCnZz-twS_GNJhZ4eYyUBV6eU90N_gkAAP__RkbKBQ">