updated .clang-format for clang 9

This commit is contained in:
fourtf 2019-09-26 00:15:07 +02:00
parent 9e7d3f50ef
commit e47a043a27

View file

@ -1,6 +1,5 @@
Language: Cpp Language: Cpp
AccessModifierOffset: -1
AccessModifierOffset: -4 AccessModifierOffset: -4
AlignEscapedNewlinesLeft: true AlignEscapedNewlinesLeft: true
AllowShortFunctionsOnASingleLine: false AllowShortFunctionsOnASingleLine: false
@ -10,12 +9,13 @@ AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakBeforeMultilineStrings: false AlwaysBreakBeforeMultilineStrings: false
BasedOnStyle: Google BasedOnStyle: Google
BraceWrapping: { BraceWrapping: {
AfterNamespace: 'false' AfterCaseLabel: 'false'
AfterClass: 'true' AfterClass: 'true'
BeforeElse: 'true'
AfterControlStatement: 'true' AfterControlStatement: 'true'
AfterFunction: 'true' AfterFunction: 'true'
AfterNamespace: 'false'
BeforeCatch: 'true' BeforeCatch: 'true'
BeforeElse: 'true'
} }
BreakBeforeBraces: Custom BreakBeforeBraces: Custom
BreakConstructorInitializersBeforeComma: true BreakConstructorInitializersBeforeComma: true
@ -27,6 +27,7 @@ IndentCaseLabels: true
IndentWidth: 4 IndentWidth: 4
IndentWrappedFunctionNames: true IndentWrappedFunctionNames: true
IndentPPDirectives: AfterHash IndentPPDirectives: AfterHash
IncludeBlocks: Preserve
NamespaceIndentation: Inner NamespaceIndentation: Inner
PointerBindsToType: false PointerBindsToType: false
SpacesBeforeTrailingComments: 2 SpacesBeforeTrailingComments: 2