xlnt/.clang-format

51 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-05-07 05:28:38 +08:00
---
BasedOnStyle: LLVM
2016-01-18 14:23:31 +08:00
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: true
2014-05-07 05:28:38 +08:00
AllowShortLoopsOnASingleLine: false
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: true
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: false
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
BeforeCatch: true
BeforeElse: true
BreakBeforeBraces: Custom
ColumnLimit: 120
2014-05-07 05:28:38 +08:00
ConstructorInitializerAllOnOneLineOrOnePerLine: true
2016-01-18 14:23:31 +08:00
Cpp11BracedListStyle: true
DerivePointerAlignment: false
DisableFormat: false
2014-05-07 05:28:38 +08:00
IndentCaseLabels: false
IndentWidth: 4
KeepEmptyLinesAtTheStartOfBlocks: false
Language: Cpp
2014-05-07 05:28:38 +08:00
NamespaceIndentation: None
MaxEmptyLinesToKeep: 1
2016-01-18 14:23:31 +08:00
PenaltyBreakComment: 1000
PointerAlignment: Right
SpaceAfterCStyleCast: false
SpaceBeforeParens: ControlStatements
2014-05-07 05:28:38 +08:00
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 1
SpacesInAngles: false
2014-05-07 05:28:38 +08:00
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
SpacesInParentheses: false
SpacesInSquareBrackets: false
Standard: Cpp11
UseTab: Never
2014-05-07 05:28:38 +08:00
...