From e596ece87aac51f053f1f26f5f5bff964d7c351a Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 12 Feb 2022 15:00:34 +1100 Subject: Clang-format tweaks (#15906) --- .clang-format | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.clang-format') diff --git a/.clang-format b/.clang-format index b4f7967831..ce145e299c 100644 --- a/.clang-format +++ b/.clang-format @@ -5,6 +5,9 @@ AlignConsecutiveAssignments: 'true' AlignConsecutiveDeclarations: 'true' AlignOperands: 'true' AllowAllParametersOfDeclarationOnNextLine: 'false' +AllowShortCaseLabelsOnASingleLine: 'false' +AllowShortFunctionsOnASingleLine: Empty +AllowShortLoopsOnASingleLine: 'false' AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None AlwaysBreakBeforeMultilineStrings: 'false' @@ -20,6 +23,7 @@ SortIncludes: 'false' SpaceBeforeAssignmentOperators: 'true' SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: 'false' +SpacesBeforeTrailingComments: 1 TabWidth: '4' UseTab: Never -- cgit v1.2.1