<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59934>59934</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[Clang-format] [Feature-request] Sort forward declares
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JVApen
</td>
</tr>
</table>
<pre>
Clang-format has the option to `SortIncludes` and `SortUsingDeclarations`. However, it doesn't have an option to sort the forward declarations. This also seems to make a lot of sense, as we see people spend a lot of time sorting them as well as it is easier on the eye.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckU-PnDwMxj9NuFiDIIEZ5pDD7o7Q-_baP3dDDKQNCY3DjPbbV6GtdtSTJdvP8zj5IbOdPZEW7atobwXuaQlRf_r2spEvhmDe9ZtDP5-mEFdMsCBDWgjClmzwkAKIc_U5xPS_H91uiMW5AvTmb_srWz_faHQYMSvyvIT_woPuFIV8A5vABGIv5CW73wnQP7lziOkInEJ8YDRgnrxK-LJYBnQcgIlWzooVfxAguJAgTMDkmXIOMjwob8FGYXMEvJE3H4vJrnSkWT_nwPW3wrlcbQLLQMiWIuTDFgJ6p7IwWpmrumJBuj5fVNOorlPFouuppnNDVdc1w2iwGVVF4zDKbrrS-YJtYbWspKrquq6VqqUqpVGyGbq2ulQTjbIRTUUrWlc6d1_LEOfCMu-k2-tVNYXDgRwf0KT09IBjKKTMDKPOmtOwzyyayllO_OGSbHIH7Wesor2BaF97wrRHOkX6uRMf3czwn78nLvbo9JLSxkK9CNkL2c82LftQjmEVss9hf8ppi-E7jUnI_jiRheyPJ_wKAAD__54L0x4">