-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.clang-format
33 lines (33 loc) · 893 Bytes
/
.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
---
BasedOnStyle: LLVM
AlignAfterOpenBracket: BlockIndent
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Empty
AlwaysBreakAfterReturnType: TopLevelDefinitions
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Allman
BreakBeforeBinaryOperators: NonAssignment
BreakStringLiterals: true
Cpp11BracedListStyle: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: "^<catch2/"
Priority: 1
CaseSensitive: true
- Regex: "^<mitama/"
Priority: 2
CaseSensitive: true
- Regex: ".*"
Priority: 3
SortPriority: 0
IndentCaseLabels: true
IndentPPDirectives: AfterHash
NamespaceIndentation: Inner
PointerAlignment: Left
QualifierAlignment: Left