-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
32 lines (32 loc) · 854 Bytes
/
.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
AlignTrailingComments: true
AlignAfterOpenBracket: false
Cpp11BracedListStyle: false
BinPackArguments: false
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
BreakBeforeBinaryOperators: NonAssignment
IndentWidth: 4
NamespaceIndentation: All
AllowAllParametersOfDeclarationOnNextLine: false
BreakBeforeBraces: Allman
IndentPPDirectives: None
ColumnLimit: 120
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AcrossComments: false
AlignConsecutiveBitFields: false
BitFieldColonSpacing: None
SpaceBeforeAssignmentOperators: true
AlignOperands: AlignAfterOperator
IncludeBlocks: Merge
IncludeCategories:
- Regex: '^"types.h"'
Priority: -1
- Regex: '^"constants/'
Priority: 3
- Regex: '^".+'
Priority: 2
SortIncludes: true
AlignArrayOfStructures: Right