From d7595edc41fdbf3ffcf852b06775508c0fd619f3 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 27 Aug 2016 01:39:59 +0000 Subject: [PATCH] Update _clang-format file. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5820 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/_clang-format | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/polymer/eduke32/_clang-format b/polymer/eduke32/_clang-format index e1992181e..7efb0c6f1 100644 --- a/polymer/eduke32/_clang-format +++ b/polymer/eduke32/_clang-format @@ -1,4 +1,7 @@ +AlignConsecutiveAssignments: true +AlignConsecutiveDeclarations: true AlignEscapedNewlinesLeft: false +AlignOperands: true AlignTrailingComments: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortCaseLabelsOnASingleLine: true @@ -11,9 +14,9 @@ BinPackArguments: true BinPackParameters: true BreakBeforeBinaryOperators: false BreakBeforeBraces: Allman -BreakBeforeTernaryOperators: false +BreakBeforeTernaryOperators: true BreakConstructorInitializersBeforeComma: false -ColumnLimit: 120 +ColumnLimit: 125 ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerIndentWidth: 0 ContinuationIndentWidth: 0 @@ -26,8 +29,9 @@ KeepEmptyLinesAtTheStartOfBlocks: false Language: Cpp MaxEmptyLinesToKeep: 2 NamespaceIndentation: None -PointerAlignment: Middle +PointerAlignment: Right PointerBindsToType: false +SpaceAfterCStyleCast: false SpaceBeforeParens: ControlStatements SpaceInEmptyParentheses: false SpacesBeforeTrailingComments: 2