2019-01-09 06:14:09 +08:00
|
|
|
BasedOnStyle: LLVM
|
|
|
|
TabWidth: 8
|
|
|
|
UseTab: ForIndentation
|
|
|
|
BreakBeforeBraces: Attach
|
|
|
|
#BreakStringLiterals: true
|
|
|
|
IndentWidth: 8
|
|
|
|
AlignAfterOpenBracket: Align
|
|
|
|
ColumnLimit: 90
|
|
|
|
#ExperimentalAutoDetectBinPacking: true
|
|
|
|
BinPackArguments: true
|
|
|
|
BinPackParameters: true
|
|
|
|
#ReflowComments: true
|
|
|
|
AlignTrailingComments: true
|
|
|
|
SpacesBeforeTrailingComments: 8
|
|
|
|
SpaceBeforeAssignmentOperators: true
|
|
|
|
SpaceBeforeParens: ControlStatements
|
|
|
|
AllowShortIfStatementsOnASingleLine: false
|
|
|
|
AllowShortCaseLabelsOnASingleLine: true
|
|
|
|
AllowShortFunctionsOnASingleLine: false
|
|
|
|
IndentCaseLabels: false
|
2019-11-12 05:10:19 +08:00
|
|
|
IndentPPDirectives: None
|
2019-01-09 06:14:09 +08:00
|
|
|
PenaltyReturnTypeOnItsOwnLine: 0
|
|
|
|
PenaltyBreakAssignment: 0
|
|
|
|
PenaltyBreakBeforeFirstCallParameter: 1
|
|
|
|
PenaltyBreakComment: 1
|
2019-03-10 09:22:38 +08:00
|
|
|
PenaltyBreakString: 36
|
2019-02-07 08:00:39 +08:00
|
|
|
PenaltyExcessCharacter: 3
|
2019-01-09 06:14:09 +08:00
|
|
|
PenaltyBreakFirstLessLess: 0
|
|
|
|
PenaltyBreakTemplateDeclaration: 0
|
|
|
|
BreakBeforeBinaryOperators: None
|
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '<.*\.h>'
|
|
|
|
Priority: 1
|
|
|
|
- Regex: '".*\.h"'
|
|
|
|
Priority: 2
|
|
|
|
SortIncludes: true
|
|
|
|
#ForEachMacros: [ list_for_each_entry, list_for_each_entry_safe, HASH_ITER ]
|
|
|
|
#AlignConsecutiveAssignments: true
|