Issue 126747
Summary [clang-format] `AllowShortFunctionsOnASingleLine: Inline` doesn't work with `BreakBeforeBraces: Whitesmiths`
Labels
Assignees
Reporter RamojusLapinskas
    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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to