From 31481273193441cd2e4d390c4dbd32b2efc6f40d Mon Sep 17 00:00:00 2001 From: szdytom Date: Mon, 28 Aug 2023 21:58:23 +0800 Subject: [PATCH] update code format configure --- .clang-format | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.clang-format b/.clang-format index a6731b3..8b66485 100644 --- a/.clang-format +++ b/.clang-format @@ -1,5 +1,5 @@ Language: Cpp -AccessModifierOffset: -4 +AccessModifierOffset: -8 AlignAfterOpenBracket: Align AlignArrayOfStructures: Left AlignConsecutiveMacros: None @@ -56,8 +56,8 @@ BreakStringLiterals: true ColumnLimit: 99 QualifierAlignment: Left CompactNamespaces: false -ConstructorInitializerIndentWidth: 4 -ContinuationIndentWidth: 4 +ConstructorInitializerIndentWidth: 8 +ContinuationIndentWidth: 8 Cpp11BracedListStyle: true DeriveLineEnding: true DerivePointerAlignment: false @@ -79,7 +79,7 @@ IndentGotoLabels: false IndentPPDirectives: None IndentExternBlock: AfterExternBlock IndentRequires: false -IndentWidth: 4 +IndentWidth: 8 IndentWrappedFunctionNames: false InsertTrailingCommas: Wrapped InsertBraces: true @@ -141,7 +141,7 @@ SpacesInSquareBrackets: false SpaceBeforeSquareBrackets: false BitFieldColonSpacing: Both Standard: Cpp11 -TabWidth: 4 +TabWidth: 8 UseCRLF: false UseTab: Always