-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
39 lines (39 loc) · 1.06 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
37
38
39
AlignArrayOfStructures: Right
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
Enabled: true
AlignCompound: true
# AlignConsecutiveShortCaseStatements:
# Enabled: true
# AcrossEmptyLines: false
# AcrossComments: false
# AlignCaseColons: false
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignEscapedNewlines: Left
AlignOperands: AlignAfterOperator
# AlignOperands: DontAlign
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
# MaxEmptyLinesToKeep: 2
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
# AllowShortCompoundRequirementOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: AllIfsAndElse
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AlwaysBreakAfterReturnType: None
BasedOnStyle: WebKit
BreakBeforeTernaryOperators: true
BreakInheritanceList: BeforeComma
IndentCaseLabels: true
IndentWidth: 4
QualifierAlignment: Right
SortIncludes: Never
SpacesBeforeTrailingComments: 3
SpaceInEmptyBlock: true
UseTab: Never