xlnt/.clang-format

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2014-05-07 05:28:38 +08:00
---
BasedOnStyle: LLVM
2016-01-18 12:11:51 +08:00
AccessModifierOffset: 0
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
Cpp11BracedListStyle: false
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
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
...