From ce75e8c19534b374258b80ec9ac05386c07cbc03 Mon Sep 17 00:00:00 2001 From: PoliEcho Date: Wed, 23 Sep 2026 18:55:12 +0200 Subject: [PATCH] make .clang-format actualy correspond to coding style --- .clang-format | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.clang-format b/.clang-format index e9ca3f7..a2de4e4 100644 --- a/.clang-format +++ b/.clang-format @@ -79,7 +79,7 @@ AllowShortCaseLabelsOnASingleLine: false AllowShortCompoundRequirementOnASingleLine: true AllowShortEnumsOnASingleLine: true AllowShortFunctionsOnASingleLine: All -AllowShortIfStatementsOnASingleLine: Never +AllowShortIfStatementsOnASingleLine: WithoutElse AllowShortLambdasOnASingleLine: All AllowShortLoopsOnASingleLine: false AllowShortNamespacesOnASingleLine: false @@ -171,7 +171,7 @@ IndentExternBlock: AfterExternBlock IndentGotoLabels: true IndentPPDirectives: None IndentRequiresClause: true -IndentWidth: 2 +IndentWidth: 8 IndentWrappedFunctionNames: false InsertBraces: false InsertNewlineAtEOF: false @@ -216,7 +216,7 @@ PenaltyBreakTemplateDeclaration: 10 PenaltyExcessCharacter: 1000000 PenaltyIndentedWhitespace: 0 PenaltyReturnTypeOnItsOwnLine: 60 -PointerAlignment: Right +PointerAlignment: Left PPIndentWidth: -1 QualifierAlignment: Leave ReferenceAlignment: Pointer @@ -284,7 +284,7 @@ StatementMacros: - QT_REQUIRE_VERSION TableGenBreakInsideDAGArg: DontBreak TabWidth: 8 -UseTab: Never +UseTab: Always VerilogBreakBetweenInstancePorts: true WhitespaceSensitiveMacros: - BOOST_PP_STRINGIZE