<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55126>55126</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format 9.0.0 is formatting a pointer like a trailing return
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
gnawme
</td>
</tr>
</table>
<pre>
Using clang-format in VS Code to format on save. It's formatting this line of code as shown, with padding around the `->`:
```
auto maxBytes = msg_p -> getMaxBytes(); // must be big enough for FPGA or Host msg !!
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVUU2P2yAQ_TX4MopFwE7sA4fNpunuoVKlqr1WYE8wLQYL8Kb77wtuVlWkEcPMm4_HQ_nxXXyPxmkYrHR6d_VhlgmMgx_f4NmPCMnDPekdRPmGNbwmwo7xnk6lOU0mgjUOwV9hKG0yQpz8zRH2DDeTJljkOJZSGfzqxtyBQA50R_in7Ah_IvRM6MeZM_9sC-WaSczyz-k9YQTCzzBH_XOB0gwa05c7RFhHWE_4CYCwSzaY15hAISijAZ1f9VRYw-Xr5yfI_sVnOM_K5ftij8urUfCx572skkkWxYNCfU1rCuZBBQmLNy5hyFL8zhJACtLYggRMa3DVGqyYUlpiee_GUGdpVlUPfs6BtW8fbrcE_wuHLPTFxLiWt13ads8O1SSkUi3vB8mHg2RHHJvjcFCyu6JsaKv2WFmp0EZB2hNhzOENthH5TtpzZQSjjNGGHSmlPevqpu_6ppVX3o_IO7onDcU5864Lj9oHXQWxUVKrjhm0Jqb4H5QxGu0Qt3V5fv6syQehnbzNWG2bxcb8L0GHxCE">