mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
updated .clang-format for clang 9
This commit is contained in:
parent
9e7d3f50ef
commit
e47a043a27
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue