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

    <tr>
        <th>Summary</th>
        <td>
            [clang-format] Short functions would not merge when ColumnLimit is 0
        </td>
    </tr>

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

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

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

<pre>
    ```
BasedOnStyle: WebKit
ColumnLimit: 0
AllowShortFunctionsOnASingleLine: Inline
```
```cpp
struct A {
    int a()
    {
 return 0;
    }
}
```

---

```
BasedOnStyle: WebKit
ColumnLimit: 120
AllowShortFunctionsOnASingleLine: Inline
```
```cpp
struct A {
    int a() { return 0; }
}
```

tested on 0c641568515a797473394694f05937e1f1913d87
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEU01v3CwQ_jX4grziyx8cOHjflaVXjZRDDj2zeGyTYlgBTpR_X9m7zW5zqnqphGBmnpl5NB_olOzkARSqjqg6FXrNc4gqpot41eZHcQ7Dh0I1uR1yQqQ76gTDs3_JHw4Q7_B3OH-z-Yr9F9y6-Ce72LxBt4jOufD-MoeY-9WbbINPz757sX5y8GT9nuV_7zZp9_9C-Kmay-VqSTmuJuMOo-Z4tWCMsfUZa8RaxOTdePeIkNfoMUH8-AifbiSfwhfy_S7L8lH9-45Q9s96sgGPTfjT2jOkDAMOHhNTC1rVbUUr3chGNJxLUUsxkkryBuhIJeVD2xSD4oPkUhegaMNq0ciW1MWstBZmqIASaUbC6EBhHJumItzwkQ0tFFYxwgSRtCZScFYfKKFMiMYwWRkAyZAgsGjrDs69LYcQp8KmtIKipG1JWzh9Bpf2bWbMOO2ncgxx0Rkxtu13VFtceV6nhARxNuV0z5RtdvtP-C2wOuF9THj8NSf8HlY3YB8yXiBOgN9n8Phh0NgmTIo1OjXnfEmId4j1iPWTzfN6PpiwINZvtLenvMTwCiYj1u_VJMT6W0Fviv0MAAD__31KCac">