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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Class inheritance can't be put to the next line
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    I found no ways to obtain the following style:
```
class C
   : public A
   , protected B
{
};
```

Instead, I obtain:
```
class C: public A
   , protected B
{
};
```

I join the .clang-format file I'm using for configuration:
[clang-format.txt](https://github.com/llvm/llvm-project/files/9682654/clang-format.txt)

Is the issue in clang-format or in the configuration file ?
Are there workaround to solve it?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1kttu4yAQhp_GvhnVwjgQ-8IXOahSHgNs7NASiGDcNG_fsZMesrvSai9WwsDA-Of7B3Tor-0BhjD5HnyAi7omwABBo7Ie8Ghoz7lwsX6EhFdnsmqTsX3GNplk97aEnVMpwe4WAADlwXnSznaw-V7kOzjHgKZD08P2LrT-muyzavtH9Vt_8AmN6meVwx3xbzj_gwJewr02BR3jx6chxJNCGKwzcMj4-gRTmgtG69AFP9hxigpt-EErtj9_LfAdM7HPeH1EPKc5jT9TGy0eJ1104USBc2-fwxPhvxA-hfOhicZG1lyKFc1-E-bNA35a0G1KE_UeHiwQ8N3aA_fNWlY93yQ20cw51F9CfFVxeT30alJwb6SJlJibtpRyJSrG6zrv26pvqkblaNGZ9hf35Bx2y31ZT6oWle8IQHkqJYI2dIM4y89Y3rwjOOtNPkXX_nO1FtdzuUTN1jI_tk0_rJmSjRhE3emq17qrSiWGXgglGtXlTmnj0oxMmLltOeOcNRWjr-R1UWrZrKTkdalkyTqRrZg5KeuK-eAixDGP7cKgpzHRprMJ0_cmmbajN-ZTX014DLGNZoz0uHW-8LYL7AcQ3x2a">