From b90170a2fa0505d39702da70dbb168756597e3ca Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 3 Dec 2023 23:04:39 +0100 Subject: [PATCH] Update format config --- .clang-format | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.clang-format b/.clang-format index ed79b5e..edbaa8e 100644 --- a/.clang-format +++ b/.clang-format @@ -1,20 +1,15 @@ --- Language: Cpp +BasedOnStyle: LLVM AlignConsecutiveAssignments: true -AlignConsecutiveDeclarations: true -AlignOperands: true -AllowShortBlocksOnASingleLine: false -AllowShortFunctionsOnASingleLine: false +AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: false -AllowShortLoopsOnASingleLine: false -AlwaysBreakAfterDefinitionReturnType: All -BreakBeforeBraces: Linux -ContinuationIndentWidth: 2 -ColumnLimit: 120 -ForEachMacros: ['GIRARA_LIST_FOREACH'] -IndentWidth: 2 +AlwaysBreakTemplateDeclarations: true +BreakBeforeBraces: Attach +ConstructorInitializerIndentWidth: 2 +NamespaceIndentation: All PointerAlignment: Left TabWidth: 2 -IndentCaseLabels: true +ColumnLimit: 120 +SortIncludes: false ... -