[clang] [clang-format] Add BreakFunctionDefinitionParameters option (PR #84988)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 25 13:19:36 PDT 2024


================
@@ -2218,6 +2218,11 @@ struct FormatStyle {
   /// \version 3.8
   bool BreakAfterJavaFieldAnnotations;
 
+  /// If ``true``, clang-format will always break before function definition
+  /// parameters
+  /// \version 19
+  bool BreakFunctionDefinitionParameters;
----------------
HazardyKnusperkeks wrote:

Please sort your code on all locations directly after `BreakConstructorInitializers`. It seems there is something unsorted.

https://github.com/llvm/llvm-project/pull/84988


More information about the cfe-commits mailing list