xlnt/.clang-format

68 lines
1.8 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
2016-12-04 20:29:10 +08:00
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
2016-01-18 14:23:31 +08:00
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: false
2016-12-04 20:29:10 +08:00
AllowShortCaseLabelsOnASingleLine: 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
2016-12-04 20:29:10 +08:00
BreakBeforeBinaryOperators: NonAssignment
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
2016-12-04 20:29:10 +08:00
IncludeCategories:
- Regex: '^<xlnt/xlnt_config.hpp>$'
Priority: 2
- Regex: '^<xlnt/'
Priority: 3
- Regex: '^<detail/'
Priority: 4
- Regex: '^<.*>&'
Priority: 1
- Regex: '^".*"'
Priority: 5
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
2016-12-04 20:29:10 +08:00
SortIncludes: true
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
...