-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy path.clang-format
More file actions
66 lines (50 loc) · 1.3 KB
/
.clang-format
File metadata and controls
66 lines (50 loc) · 1.3 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
BasedOnStyle: LLVM
IndentWidth: 4
ColumnLimit: 100
AccessModifierOffset: 0
Language: Cpp
Standard: c++17
UseTab: Never
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: false
AlignFunctionPointers: false
PadOperators: true
AlignConsecutiveShortCaseStatements:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCaseArrows: false
AlignCaseColons: true
AlignAfterOpenBracket: AlwaysBreak
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true
AllowShortCaseLabelsOnASingleLine : true
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakBeforeConceptDeclarations : true
BreakBeforeBinaryOperators: All
BreakConstructorInitializers: BeforeColon
IncludeBlocks: Merge
EmptyLineBeforeAccessModifier : Always
NamespaceIndentation: All
IndentPPDirectives: BeforeHash
#SeparateDefinitionBlocks: Leave
SpaceAfterTemplateKeyword: false
SpaceAfterCStyleCast: true
InsertNewlineAtEOF: true
PenaltyReturnTypeOnItsOwnLine: 1000
IncludeCategories:
- Regex: '^"(shambase)/'
Priority: 0
- Regex: '<[[:alnum:].]+>'
Priority: 4
- Regex: '.*'
Priority: 1
SortPriority: 0