-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
69 lines (66 loc) · 2.82 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
61
62
63
64
65
66
67
68
69
AlignAfterOpenBracket : Align
AlignConsecutiveAssignments : true
AlignConsecutiveDeclarations : false
AlignConsecutiveMacros : true
AlignEscapedNewlines : Right
AlignOperands : true
AlignTrailingComments : true
AllowAllArgumentsOnNextLine : false
AllowAllParametersOfDeclarationOnNextLine : false
AllowShortBlocksOnASingleLine : Empty
AllowShortCaseLabelsOnASingleLine : false
AllowShortFunctionsOnASingleLine : None
AllowShortIfStatementsOnASingleLine : Never
AllowShortLoopsOnASingleLine : false
AlwaysBreakAfterReturnType : TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings : true
BinPackArguments : true
BinPackParameters : true
BreakBeforeBinaryOperators : None
BreakBeforeBraces : Linux
BreakBeforeTernaryOperators : false
BreakStringLiterals : true
ColumnLimit : 80
ContinuationIndentWidth : 4
DeriveLineEnding : false
DerivePointerAlignment : false
ExperimentalAutoDetectBinPacking : false
IncludeBlocks : Merge
IndentCaseLabels : true
IndentGotoLabels : false
IndentPPDirectives : BeforeHash
IndentWidth : 4
IndentWrappedFunctionNames : false
KeepEmptyLinesAtTheStartOfBlocks : false
Language : Cpp
MaxEmptyLinesToKeep : 2
PointerAlignment : Right
ReflowComments : true
SortIncludes : false
SpaceAfterCStyleCast : false
SpaceAfterLogicalNot : false
SpaceBeforeAssignmentOperators : true
SpaceBeforeParens : ControlStatements
SpaceBeforeSquareBrackets : false
SpaceInEmptyBlock : false
SpaceInEmptyParentheses : false
SpacesBeforeTrailingComments : 1
SpacesInCStyleCastParentheses : false
SpacesInConditionalStatement : false
SpacesInContainerLiterals : false
SpacesInParentheses : false
SpacesInSquareBrackets : false
TabWidth : 4
UseTab : Never
ForEachMacros:
- await_while
- await_do
# How to format } while_await() ?
StatementMacros:
- V_DEFINE_FUNC
WhitespaceSensitiveMacros:
- V_ASM
TypenameMacros:
- V_MAP_T
- V_MAP_R
- V_MAP_A