mirror-chatterino2/.clang-format
2018-07-14 14:24:18 +02:00

30 lines
835 B
YAML

IndentCaseLabels: true
BasedOnStyle: Google
IndentWidth: 4
Standard: Auto
PointerBindsToType: false
Language: Cpp
SpacesBeforeTrailingComments: 2
AccessModifierOffset: -1
AlignEscapedNewlinesLeft: true
AlwaysBreakAfterDefinitionReturnType: false
AlwaysBreakBeforeMultilineStrings: false
BreakConstructorInitializersBeforeComma: true
# BreakBeforeBraces: Linux
BreakBeforeBraces: Custom
AccessModifierOffset: -4
ConstructorInitializerAllOnOneLineOrOnePerLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
DerivePointerBinding: false
BraceWrapping: {
AfterNamespace: 'false'
AfterClass: 'true'
BeforeElse: 'false'
AfterControlStatement: 'false'
AfterFunction: 'true'
BeforeCatch: 'false'
}
ColumnLimit: 100
FixNamespaceComments: true