From e47a043a27cc93b1e055e6bf68019a95f0ca86b8 Mon Sep 17 00:00:00 2001 From: fourtf <tf.four@gmail.com> Date: Thu, 26 Sep 2019 00:15:07 +0200 Subject: [PATCH] updated .clang-format for clang 9 --- src/.clang-format | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/.clang-format b/src/.clang-format index fd28e7c25..64970a150 100644 --- a/src/.clang-format +++ b/src/.clang-format @@ -1,6 +1,5 @@ Language: Cpp -AccessModifierOffset: -1 AccessModifierOffset: -4 AlignEscapedNewlinesLeft: true AllowShortFunctionsOnASingleLine: false @@ -10,12 +9,13 @@ AlwaysBreakAfterDefinitionReturnType: false AlwaysBreakBeforeMultilineStrings: false BasedOnStyle: Google BraceWrapping: { - AfterNamespace: 'false' + AfterCaseLabel: 'false' AfterClass: 'true' - BeforeElse: 'true' AfterControlStatement: 'true' AfterFunction: 'true' + AfterNamespace: 'false' BeforeCatch: 'true' + BeforeElse: 'true' } BreakBeforeBraces: Custom BreakConstructorInitializersBeforeComma: true @@ -27,6 +27,7 @@ IndentCaseLabels: true IndentWidth: 4 IndentWrappedFunctionNames: true IndentPPDirectives: AfterHash +IncludeBlocks: Preserve NamespaceIndentation: Inner PointerBindsToType: false SpacesBeforeTrailingComments: 2