From 4701ff89e0beba4e70014b81512d3dae1afc9fb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Br=C3=A6strup=20Sayoc?= Date: Tue, 25 Jul 2023 13:57:38 +0200 Subject: [PATCH] [Repo] Always break parameters and arguments If the line is too long, parameters and arguments will now wrap on the next lines with one block indent, one arguments or parameter per line. --- .clang-format | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index a4d02ec4c2..1998cab94d 100644 --- a/.clang-format +++ b/.clang-format @@ -1,10 +1,11 @@ # Generated from CLion C/C++ Code Style settings BasedOnStyle: LLVM AccessModifierOffset: -4 -AlignAfterOpenBracket: Align +AlignAfterOpenBracket: BlockIndent AlignConsecutiveAssignments: None AlignOperands: DontAlign -AllowAllParametersOfDeclarationOnNextLine: true +AllowAllArgumentsOnNextLine: false +AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: Empty AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: None @@ -14,6 +15,7 @@ AllowShortLoopsOnASingleLine: false AlwaysBreakAfterReturnType: None AlwaysBreakTemplateDeclarations: Yes BinPackArguments: false +BinPackParameters: false BreakBeforeBraces: Custom BraceWrapping: AfterCaseLabel: false