<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58827>58827</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format doesn't annotate function names before attributes
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
owenca
</td>
</tr>
</table>
<pre>
Versions: 15 and main
```
$ cat test.cpp
void
f [[noreturn]] ();
$ clang-format -style="{AlwaysBreakAfterReturnType: All}" test.cpp
void f [[noreturn]] ();
```
Expected output: same as input
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUsuu2yAQ_Rq8QbEwfrJg4SjtB1RV92DGCbcELBhumr8vdlq1V-qi0pGYBzpz5oAO5im_QUw2-ETamTY9Vd7Qu7KesAthMxnYL7xS3tFFIUVIWC_b9qq-B2te0UpJfy7wIQLm6El_KaCET4QL0p7_YnHKX09riPdCd0r4dEDaC-GcjOfZPdQznSOo7_OKEL8cXF-fG-waZ-fIuN_8hwr6nwI-bvXpxwYLgqEh45ZxH5LUHahK1PpSqEA2wzAOXTf1ojKyNaIVqkKLDuSHRUyA5AkfsdjoAyoEuma_YPGX-kKZqIZytVAjRqtz2aDK0ckb4rY_AOGfC64Wb1nXS7iXxLn338dpi-GtKC2pTSlDKkE_TXysbtKIUWilh3bsWdsYwQc9sUUvi5l61XBdOaXBJbnbw7mHBz0odsP7S2UlZ5w3Desb1rFe1KtYGi2abl31qltmSMeg_ApX7zrqEK9VlIckna-pNJ1NmP40VUr26gGOcYVfZbyFKMMD_KKqY7I8lP8EFUjGeQ">