summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-03-26 13:53:58 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-03-26 13:55:46 +0200
commit2cb4d117af15c83103700e1411020f55eef61de4 (patch)
tree0f627002ab3688eade04d5f2454504de2fa0626d /.clang-format
parentece052bdb6c2e8dd54e13c49df0ac9993cf9e618 (diff)
.clang-format: Don't put arguments, short loops on single line
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format5
1 files 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