| Issue |
76347
|
| Summary |
C/C++: Function type returning BOOL breaks after name when ColumnLimit=0
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
PikalaxALT
|
.clang-format:
```yaml
ColumnLimit: 0
```
Input:
```c
typedef int BOOL;
typedef struct bar bar;
struct foo {
BOOL (*func)(bar*, bar*);
};
```
Output:
```c
typedef int BOOL;
typedef struct bar bar;
struct foo {
BOOL (*func)
(bar *, bar *);
};
```
The desired output would be to keep the `foo::func` definition on a single line, as in the input.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs