From 8db1b5ec1a755ebaa26c2fedb4e2f772880354d4 Mon Sep 17 00:00:00 2001 From: Kamay Xutax Date: Fri, 30 Aug 2024 22:57:25 +0200 Subject: [PATCH] Updated clang format --- .clang-format | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.clang-format b/.clang-format index 26db4e14ad..d8c60a96eb 100644 --- a/.clang-format +++ b/.clang-format @@ -108,7 +108,7 @@ IndentCaseBlocks: false IndentCaseLabels: true IndentExternBlock: AfterExternBlock IndentGotoLabels: true -IndentPPDirectives: BeforeHash +IndentPPDirectives: None IndentRequiresClause: false IndentWidth: 4 IndentWrappedFunctionNames: true @@ -186,17 +186,17 @@ SpaceBeforeRangeBasedForLoopColon: true SpaceBeforeSquareBrackets: false SpaceInEmptyBlock: false SpacesBeforeTrailingComments: 1 -SpacesInAngles: Never +SpacesInAngles: Always SpacesInContainerLiterals: false SpacesInLineCommentPrefix: Minimum: 1 Maximum: -1 -SpacesInParens: Never +SpacesInParens: Custom SpacesInParensOptions: - InCStyleCasts: false - InConditionalStatements: false + InCStyleCasts: true + InConditionalStatements: true InEmptyParentheses: false - Other: false + Other: true SpacesInSquareBrackets: false Standard: Latest StatementAttributeLikeMacros: @@ -205,7 +205,7 @@ StatementMacros: - Q_UNUSED - QT_REQUIRE_VERSION TabWidth: 4 -UseTab: Never +UseTab: Always VerilogBreakBetweenInstancePorts: true WhitespaceSensitiveMacros: - STRINGIZE