-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
40 lines (40 loc) · 898 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
34
35
36
37
38
39
40
---
BasedOnStyle: LLVM
IndentWidth: 4
---
Language: Cpp
AccessModifierOffset: -4
PointerAlignment: Left
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Never
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
AlignAfterOpenBracket: DontAlign
Cpp11BracedListStyle: false
IncludeBlocks: Regroup
IncludeCategories:
- Regex: "<[^Q][[:alnum:]_.]+>"
Priority: 1
- Regex: "<Q.+>"
Priority: 2
- Regex: "<[^Q].+>"
Priority: 3
- Regex: ".*"
Priority: 4
SeparateDefinitionBlocks: Always
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: true
AlignOperands: DontAlign
AlignEscapedNewlines: Left
BinPackParameters: true
---
# Notes:
# Designated initializer list formatting: Write a ',' after the last item.