| Issue |
108808
|
| Summary |
[clang-format] Short functions would not merge when ColumnLimit is 0
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
rsp4jack
|
```
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
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs