-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
40 lines (40 loc) · 1.13 KB
/
.clang-format
File metadata and controls
40 lines (40 loc) · 1.13 KB
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
37
38
39
40
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'
AllowShortEnumsOnASingleLine: false
IndentWidth: '4'
SpaceBeforeParens: ControlStatements
SpacesInCStyleCastParentheses: 'false'
SpacesInSquareBrackets: 'false'
TabWidth: '4'
IndentCaseLabels: true
AllowShortLoopsOnASingleLine: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '<[[:alnum:].\/-]+>'
Priority: 0
SortPriority: 0
- Regex: '"[[:alnum:].\/-]+"'
Priority: 10
SortPriority: 10
BinPackArguments: true
BinPackParameters: true
ExperimentalAutoDetectBinPacking: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowAllArgumentsOnNextLine: false
PenaltyBreakAssignment: 1000
...