-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
36 lines (36 loc) · 1 KB
/
.clang-format
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
BasedOnStyle: LLVM
UseTab: Never
AccessModifierOffset: '0'
AlignConsecutiveMacros: 'true'
AlignEscapedNewlines: Left
AlignOperands: 'true'
AlignTrailingComments: 'true'
AlignAfterOpenBracket: 'true'
AlignConsecutiveAssignments: 'Consecutive'
AlignConsecutiveBitFields: 'AcrossEmptyLines'
AlignConsecutiveDeclarations: 'Consecutive'
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: true
AcrossComments: true
AlignCaseColons: false
AllowShortFunctionsOnASingleLine: 'false'
IndentCaseLabels: 'false'
IndentWidth: '2'
SpaceBeforeParens: ControlStatements
SpacesInCStyleCastParentheses: 'false'
SpacesInSquareBrackets: 'false'
TabWidth: '2'
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '<[[:alnum:].\/-]+>'
Priority: 0
SortPriority: 0
- Regex: '"[[:alnum:].\/-]+"'
Priority: 10
SortPriority: 10
BinPackArguments: false
BinPackParameters: false
ExperimentalAutoDetectBinPacking: false
AllowAllParametersOfDeclarationOnNextLine: false
...