From 8b3f1f48cba9fbe6c85f23f7cb890c9aef1021ed Mon Sep 17 00:00:00 2001 From: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:31:50 +0300 Subject: [PATCH] .clang-format fixes Signed-off-by: Visual Ehrmanntraut <30368284+VisualEhrmanntraut@users.noreply.github.com> --- .clang-format | 100 +++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/.clang-format b/.clang-format index 83f9114e..86d4d4f3 100644 --- a/.clang-format +++ b/.clang-format @@ -1,67 +1,67 @@ -AccessModifierOffset: "0" +AccessModifierOffset: 0 AlignAfterOpenBracket: DontAlign -AlignConsecutiveMacros: "true" -AlignConsecutiveAssignments: "false" -AlignConsecutiveDeclarations: "false" +AlignConsecutiveMacros: true +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false AlignEscapedNewlines: Left -AlignOperands: "true" -AlignTrailingComments: "true" -AllowAllArgumentsOnNextLine: "false" -AllowAllConstructorInitializersOnNextLine: "true" -AllowAllParametersOfDeclarationOnNextLine: "false" -AllowShortBlocksOnASingleLine: "true" -AllowShortCaseLabelsOnASingleLine: "false" +AlignOperands: true +AlignTrailingComments: true +AllowAllArgumentsOnNextLine: false +AllowAllConstructorInitializersOnNextLine: true +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortBlocksOnASingleLine: true +AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: All AllowShortIfStatementsOnASingleLine: Always AllowShortLambdasOnASingleLine: All -AllowShortLoopsOnASingleLine: "true" +AllowShortLoopsOnASingleLine: true AlwaysBreakAfterReturnType: None -AlwaysBreakBeforeMultilineStrings: "false" -AlwaysBreakTemplateDeclarations: "Yes" -BinPackArguments: "true" -BinPackParameters: "true" +AlwaysBreakBeforeMultilineStrings: false +AlwaysBreakTemplateDeclarations: Yes +BinPackArguments: true +BinPackParameters: true BreakBeforeBinaryOperators: None BreakBeforeBraces: Attach -BreakBeforeTernaryOperators: "false" +BreakBeforeTernaryOperators: false BreakConstructorInitializers: BeforeColon BreakInheritanceList: BeforeColon -BreakStringLiterals: "true" -ColumnLimit: "120" -CompactNamespaces: "false" -ConstructorInitializerAllOnOneLineOrOnePerLine: "false" -ConstructorInitializerIndentWidth: "4" -ContinuationIndentWidth: "4" -Cpp11BracedListStyle: "true" -DerivePointerAlignment: "false" -DisableFormat: "false" -FixNamespaceComments: "true" +BreakStringLiterals: true +ColumnLimit: 120 +CompactNamespaces: false +ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +Cpp11BracedListStyle: true +DerivePointerAlignment: false +DisableFormat: false +FixNamespaceComments: true IncludeBlocks: Merge -IndentCaseLabels: "true" +IndentCaseLabels: true IndentPPDirectives: BeforeHash -IndentWidth: "4" -IndentWrappedFunctionNames: "true" -KeepEmptyLinesAtTheStartOfBlocks: "false" +IndentWidth: 4 +IndentWrappedFunctionNames: true +KeepEmptyLinesAtTheStartOfBlocks: false Language: Cpp NamespaceIndentation: All PointerAlignment: Right -ReflowComments: "true" -SortIncludes: "true" -SortUsingDeclarations: "true" -SpaceAfterCStyleCast: "false" -SpaceAfterLogicalNot: "false" -SpaceAfterTemplateKeyword: "false" -SpaceBeforeAssignmentOperators: "true" -SpaceBeforeCpp11BracedList: "true" -SpaceBeforeCtorInitializerColon: "true" -SpaceBeforeInheritanceColon: "true" +ReflowComments: true +SortIncludes: true +SortUsingDeclarations: true +SpaceAfterCStyleCast: false +SpaceAfterLogicalNot: false +SpaceAfterTemplateKeyword: false +SpaceBeforeAssignmentOperators: true +SpaceBeforeCpp11BracedList: true +SpaceBeforeCtorInitializerColon: true +SpaceBeforeInheritanceColon: true SpaceBeforeParens: ControlStatements -SpaceBeforeRangeBasedForLoopColon: "true" -SpaceInEmptyParentheses: "false" -SpacesBeforeTrailingComments: "4" -SpacesInAngles: "false" -SpacesInCStyleCastParentheses: "false" -SpacesInContainerLiterals: "false" -SpacesInParentheses: "false" -SpacesInSquareBrackets: "false" -Standard: Cpp11 +SpaceBeforeRangeBasedForLoopColon: true +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 4 +SpacesInAngles: false +SpacesInCStyleCastParentheses: false +SpacesInContainerLiterals: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +Standard: c++17 UseTab: Never