-
-
Notifications
You must be signed in to change notification settings - Fork 182
/
.clang-format
60 lines (60 loc) · 1.62 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
Language: Cpp
AlignAfterOpenBracket: Align
AlignOperands: true
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
# BitFieldColonSpacing: None
BreakBeforeBraces: Custom
BraceWrapping:
AfterControlStatement: Never
AfterEnum: false
AfterFunction: true
AfterStruct: false
AfterUnion: false
AfterExternBlock: true
BeforeElse: false
# BeforeWhile: false
BreakBeforeBinaryOperators: None
# BraceBreakingStyle: Linux
BreakBeforeTernaryOperators: true
BreakStringLiterals: false
ColumnLimit: 80
ContinuationIndentWidth: 4
Cpp11BracedListStyle: false
# IndentCaseBlocks: false
IndentCaseLabels: true
# IndentExternBlock: Indent
IndentPPDirectives: None
IndentWidth: 3
IndentWrappedFunctionNames: false
MaxEmptyLinesToKeep: 1
# PPIndentWidth: 0
PointerAlignment: Right
# QualifierAlignment: Left
# QualifierOrder: ['inline', 'static', 'volatile', 'const', 'type']
ReflowComments: true
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
# SpaceAroundPointerQualifiers: Before
SpaceBeforeAssignmentOperators: true
# SpaceBeforeCaseColon: false
SpaceBeforeParens: ControlStatements
SpaceBeforeSquareBrackets: false
SpaceInEmptyBlock: true
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 3
SpacesInCStyleCastParentheses: false
SpacesInConditionalStatement: false
# SpacesInLineCommentPrefix:
# Minimum: 1
# Maximum: 1
SpacesInParentheses: false
SpacesInSquareBrackets: false
UseTab: Never