-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
40 lines (40 loc) · 1.15 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
Language: Cpp
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
AlignOperands: DontAlign
AlignTrailingComments: false
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BinPackParameters: false
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
ColumnLimit: 120
CompactNamespaces: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
IncludeCategories:
- Regex: '^(<(noir|tendermint)/)'
SortPriority: 2
- Regex: '^(<catch2/)'
SortPriority: 1
- Regex: '^(<[_0-9A-Za-z]+/)'
SortPriority: 3
- Regex: '^(<[_0-9A-Za-z]+)'
SortPriority: 4
IndentGotoLabels: false
IndentPPDirectives: AfterHash
IndentWidth: 2
KeepEmptyLinesAtTheStartOfBlocks: true
NamespaceMacros: [NOIR_CODEC]
NamespaceIndentation: Inner
PackConstructorInitializers: NextLine
PointerAlignment: Left
SpaceAfterTemplateKeyword: false
SpaceBeforeCtorInitializerColon: false
SpacesBeforeTrailingComments: 1
UseTab: Never
WhitespaceSensitiveMacros: [NOIR_REFLECT]