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

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 26 12:01:37 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:

Not only here, but also in the `operator==`, `mapping` and `getLLVMStyle` function.

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


More information about the cfe-commits mailing list