================
@@ -2389,6 +2389,20 @@ struct FormatStyle {
/// \version 19
bool BreakFunctionDefinitionParameters;
+ /// If ``true``, clang-format will always break before function declaration
+ /// parameters.
+ /// \code
+ /// true:
+ /// void functionDeclaration(
+ /// int A, int B);
+ ///
+ /// false:
+ /// void functionDeclaration(int A, int B);
+ ///
+ /// \endcode
+ /// \version 22
+ bool BreakFunctionDeclarationParameters;
----------------
mydeveloperday wrote:
I can't quite tell but it feel like true is
"AlwaysBreakFunctionDeclarationParameters" because false doesn't feel like
NeverBreak... just depends on what is there currently?
https://github.com/llvm/llvm-project/pull/158745
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits