From f748c850546c59d32b9e5326580d588ee527b7c8 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 15 Dec 2018 01:37:24 +0000 Subject: [PATCH] Set AllowShortCaseLabelsOnASingleLine to false and AlignAfterOpenBracket to Align in _clang-format git-svn-id: https://svn.eduke32.com/eduke32@7256 1a8010ca-5511-0410-912e-c29ae57300e0 --- _clang-format | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/_clang-format b/_clang-format index 4d0f0f824..5b80b51e3 100644 --- a/_clang-format +++ b/_clang-format @@ -1,16 +1,16 @@ +AlignAfterOpenBracket: Align AlignConsecutiveAssignments: true AlignConsecutiveDeclarations: true AlignEscapedNewlinesLeft: true AlignOperands: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: false -AllowShortCaseLabelsOnASingleLine: true +AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: true AllowShortIfStatementsOnASingleLine: false AllowShortLoopsOnASingleLine: false AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: false -ExperimentalAutoDetectBinPacking: true BinPackArguments: true BinPackParameters: true BreakBeforeBinaryOperators: true @@ -23,6 +23,7 @@ ConstructorInitializerIndentWidth: 0 ContinuationIndentWidth: 0 Cpp11BracedListStyle: false DerivePointerBinding: false +ExperimentalAutoDetectBinPacking: true IndentCaseLabels: true IndentFunctionDeclarationAfterType: true IndentWidth: 4 @@ -37,8 +38,8 @@ SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 2 SpacesInAngles: false -SpacesInCStyleCastParentheses: false SpacesInContainerLiterals: false +SpacesInCStyleCastParentheses: false SpacesInParentheses: false SpacesInSquareBrackets: false Standard: Cpp11