From 2cb4d117af15c83103700e1411020f55eef61de4 Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Tue, 26 Mar 2024 13:53:58 +0200 Subject: .clang-format: Don't put arguments, short loops on single line --- .clang-format | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.clang-format b/.clang-format index 0b541c8..62c95e0 100644 --- a/.clang-format +++ b/.clang-format @@ -8,12 +8,13 @@ AlignConsecutiveDeclarations: false AlignEscapedNewlines: Right AlignOperands: true AlignTrailingComments: true -AllowAllParametersOfDeclarationOnNextLine: true +AllowAllArgumentsOnNextLine: false +AllowAllParametersOfDeclarationOnNextLine: false AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: true +AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: All AlwaysBreakBeforeMultilineStrings: false -- cgit v1.1