Issue 183705
Summary [clang-format] AllowShortBlocksOnASingleLine=Always overrides brace wrapping for functions
Labels clang-format
Assignees
Reporter zeule
    In version 22 `AllowShortBlocksOnASingleLine=Always` overrides
```yaml
BraceWrapping:
  AfterFunction: true
```

and results in function bodies being compactified:
```c++
void f()
{return ;}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to