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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] `AllowShortFunctionsOnASingleLine: Inline` doesn't work with `BreakBeforeBraces: Whitesmiths`
        </td>
    </tr>

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

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

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

<pre>
    Here is a minimal config:
```
BreakBeforeBraces: Whitesmiths
AllowShortFunctionsOnASingleLine: Inline
```
Generates this diff:
```diff
 class Foo
   {
-  void f() { foo(); }
+  void f()
+ {
+    foo();
+    }
   };
```
Meanwhile `AllowShortFunctionsOnASingleLine: All` works as intended.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMUk-L3D4M_TTKxczgOH-cHHJIWPL7FbYUuoeenVhJvOvYi-XM0G9fMpOynV66YLD0JD30xFNEZnaIDRQdFE-J2uLiQ_Ndrf51o2f1bhy9KUoGr382_2NAZogpthpnVmXZ6N1kZsha4C2U_Hi87QKqtw4nH7ALakSCrGU_FhORVhMXAt621vrry-JD7Dc3RuMdfXPti3GzxWfjcJ_44uwePXL_hw6DikgsLoaYNtP01wI3iLdstIqI9d7vCWMgO-DtibGLN5pNICoQ9Y6yyft7BlnHQD7tZKJ7bDywO8mtyh7mPtA7wRHcC3-s_xWVuy7GIoOSf-YIrbVQcnb14Y2YImZcRKdRnxPdZLrOapVgk8qsFlVVySpZGjGWaZlPapSlTpUoVTVIoUUhJNZDOujENIKLgos0TYtcFtWZZ4XK8kIIycu60hnkHFdl7Nnay3r2YU4M0YZNKkqZy8SqAS399kxo9q7TsM0EObeGIn3MRRPtzV2jVW4-TT6sKkLx9Fn1hwVKzrRHciBkvJ2CXU1cdpJ_Wq3kyRZss8T4vtdA9CD62cRlG86jX0H0-7LHd3oP_hXHCKK_KSYQ_SH60ohfAQAA__-YdPg0">