-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy path.clang-format
More file actions
26 lines (26 loc) · 749 Bytes
/
.clang-format
File metadata and controls
26 lines (26 loc) · 749 Bytes
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
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AllowShortBlocksOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: Never
AllowShortLambdasOnASingleLine: Empty
AllowShortLoopsOnASingleLine: false
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeTernaryOperators: false
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
ColumnLimit: 120
ForEachMacros:
[
hashmap_foreach,
hashmap_foreach_safe,
hashmap_foreach_key,
hashmap_foreach_key_safe,
hashmap_foreach_data,
hashmap_foreach_data_safe,
]
IndentWidth: 4
InsertBraces: true
KeepEmptyLinesAtTheStartOfBlocks: false
WhitespaceSensitiveMacros: [hashmap_*]
SpaceBeforeParens: ControlStatementsExceptForEachMacros