-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
52 lines (43 loc) · 1.09 KB
/
.clang-format
File metadata and controls
52 lines (43 loc) · 1.09 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
41
42
43
44
45
46
47
48
49
50
51
52
Language: C
BasedOnStyle: LLVM
Standard: Latest
IndentWidth: 4
UseTab: Never
ColumnLimit: 120
BreakBeforeBraces: Attach
DerivePointerAlignment: false
PointerAlignment: Left
SpaceAroundPointerQualifiers: After
QualifierAlignment: Left
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
InsertBraces: true
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
SpaceAfterCStyleCast: false
AlignArrayOfStructures: Left
AlignAfterOpenBracket: Align
AllowAllParametersOfDeclarationOnNextLine: false
IncludeCategories:
- Regex: '^<windows\.h>'
Priority: 1
- Regex: '^<(win|shell|msg|commctrl|objbase|shlobj)\w*\.h>'
Priority: 2
- Regex: '^<.*'
Priority: 3
- Regex: '^".*'
Priority: 4
SortIncludes: CaseSensitive
IncludeBlocks: Regroup
MaxEmptyLinesToKeep: 1
IntegerLiteralSeparator:
Decimal: 3
Binary: 4
Hex: 2