From 679672cd63c78029debf327a3e86f1c249199b4c Mon Sep 17 00:00:00 2001 From: tooomm Date: Sat, 16 May 2026 19:23:55 +0200 Subject: [PATCH] Update .clang-format --- .clang-format | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.clang-format b/.clang-format index 4be096155..1db97481a 100644 --- a/.clang-format +++ b/.clang-format @@ -3,7 +3,9 @@ AccessModifierOffset: -4 ColumnLimit: 120 --- Language: Cpp -BreakBeforeBraces: Custom +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortFunctionsOnASingleLine: None +BinPackParameters: false BraceWrapping: AfterClass: true AfterControlStatement: false @@ -18,18 +20,14 @@ BraceWrapping: SplitEmptyFunction: true SplitEmptyRecord: true SplitEmptyNamespace: true -AllowShortFunctionsOnASingleLine: None -BinPackParameters: false -AllowAllParametersOfDeclarationOnNextLine: false -IndentCaseLabels: true -PointerAlignment: Right -SortIncludes: true +BreakBeforeBraces: Custom IncludeBlocks: Regroup -StatementAttributeLikeMacros: [emit] -# requires clang-format 15 +IndentCaseLabels: true InsertBraces: true -# requires clang-format 16 -# RemoveSemicolon: true +PointerAlignment: Right +RemoveSemicolon: true +SortIncludes: true +StatementAttributeLikeMacros: [emit] --- Language: Proto AllowShortFunctionsOnASingleLine: None