================
@@ -3829,6 +3829,23 @@ struct FormatStyle {
/// \version 13
int PPIndentWidth;
+ /// Dependent on the value, function body can be put on a single line.
+ /// Automatically enabled when
+ /// `AllowShortFunctionsOnASingleLine` is set to `None` and
+ /// `AllowShortBlocksOnASingleLine` is set to `Always`.
----------------
brandb97 wrote:
Then I will remove this feature, user will use
`PutShortFunctionBodiesOnASingleLine` to control function body format rather
than use two options which is more complex.
https://github.com/llvm/llvm-project/pull/151428
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits