-
Notifications
You must be signed in to change notification settings - Fork 2
/
.clang-format
42 lines (42 loc) · 1.16 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
Language: Cpp
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
AlignOperands: DontAlign
AlignTrailingComments: false
AllowAllArgumentsOnNextLine: false
AllowShortEnumsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
ColumnLimit: 120
CompactNamespaces: false
ConstructorInitializerIndentWidth: 2
ContinuationIndentWidth: 2
IncludeCategories:
- Regex: '^(<(eo|noir)/)'
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
NamespaceIndentation: Inner
PackConstructorInitializers: NextLine
PointerAlignment: Left
SpaceAfterTemplateKeyword: false
SpaceBeforeCtorInitializerColon: false
SpacesBeforeTrailingComments: 1
SpacesInLineCommentPrefix:
Minimum: 0
UseTab: Never