From 91abe04b2f828d30d19830d9beeabbc9aad337dd Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Thu, 25 Jul 2019 20:36:54 +0200 Subject: [PATCH] .clang-format: Update to clang-format 9 default style --- expat/.clang-format | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/expat/.clang-format b/expat/.clang-format index 89cffe42..838938dd 100644 --- a/expat/.clang-format +++ b/expat/.clang-format @@ -3,16 +3,20 @@ Language: Cpp # BasedOnStyle: LLVM AccessModifierOffset: -2 AlignAfterOpenBracket: Align +AlignConsecutiveMacros: false AlignConsecutiveAssignments: false AlignConsecutiveDeclarations: false AlignEscapedNewlines: Right AlignOperands: true AlignTrailingComments: true +AllowAllArgumentsOnNextLine: true +AllowAllConstructorInitializersOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false AllowShortFunctionsOnASingleLine: All -AllowShortIfStatementsOnASingleLine: false +AllowShortLambdasOnASingleLine: All +AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: None AlwaysBreakAfterReturnType: None @@ -21,6 +25,7 @@ AlwaysBreakTemplateDeclarations: MultiLine BinPackArguments: true BinPackParameters: true BraceWrapping: + AfterCaseLabel: false AfterClass: false AfterControlStatement: false AfterEnum: false @@ -97,6 +102,7 @@ ReflowComments: true SortIncludes: true SortUsingDeclarations: true SpaceAfterCStyleCast: false +SpaceAfterLogicalNot: false SpaceAfterTemplateKeyword: true SpaceBeforeAssignmentOperators: true SpaceBeforeCpp11BracedList: false -- 2.40.0