简单代码风格.clang-format配置文件
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IncludeBlocks: Preserve
IncludeIsMainRegex: '([-_](test|unittest))?$'
SortIncludes: true
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
ReflowComments: true
SpacesBeforeTrailingComments: 2
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: true
AlignAfterOpenBracket: Align
IndentWidth: 4
MaxEmptyLinesToKeep: 1
AlignConsecutiveAssignments: true
AlignConsecutiveDeclarations: false
AlignOperands: true