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

    <tr>
        <th>Summary</th>
        <td>
            clang-format shouldn't always merge innermost nested short blocks
        </td>
    </tr>

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

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

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

<pre>
    Versions: at least since 14.0.6
```
$ cat test.cpp
if (a) {
  {
    return;
  }
}
$ clang-format -style="{AllowShortBlocksOnASingleLine: Never}" test.cpp
if (a) {
  { return; }
}
```
Expected output: same as input
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUUuP2yAQ_jX4gmIBtnF84JAou6eqPazUO8YTmxaDxeBN8--Lk7SblXqoNBLzQN9jpg_DVX2HiDZ4JNWB6kQdaEwUrTdAeV2yUhJ2IuxAJHvEvRQ1Nfl7AkylWZZ7154pEXtNREdJe7z36HNKaYS0Rk-qp-npAfk32bCd9uPuHOKcSXaYrg5IdSJCZLCDc-HyNoWYji6Yn_jNH96sHx18sR42G1_hHeIGJ8T_CvzQ9S9Bn72__FrAJBhoWNOypo0R9QxUI7U-NwpQXErR7Pey48WgqqGrOl0kmxyoT8ZwCqsbPBFtotpd9BXpDHGEjOMhziFfwmf9mQo3u7S_-S3W6NSU0rLdjIjXHKNN09qXJsy5cO79z7NbYviRxebSIq6AOWlaydtiUueh6k0zSN5V7bnum4px2QvRGNNJPui6cLoHh4o0x7zIZ93bGZpTYZVgQrCOtUJwXrFy3_I-I-m-1SDbDkjNYNbWlZuUMsSxiOqmql9HzENnMeHHUCPa0QM8GMMFvNEPLr2mvAF17xU3L-pm5Dem0tUh">