-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
44 lines (36 loc) · 1.05 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
43
44
BasedOnStyle: LLVM
IndentWidth: 4
TabWidth: 4
ColumnLimit: 80
Language: Cpp
Standard: c++20
AlignOperands: true
AlignAfterOpenBracket: BlockIndent
AlignTrailingComments: true
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveAssignments: Consecutive
AllowShortLambdasOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Inline
EmptyLineBeforeAccessModifier: Always
AlwaysBreakTemplateDeclarations: Yes
SpaceAfterTemplateKeyword: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeBinaryOperators: None
BreakBeforeConceptDeclarations: Always
BreakConstructorInitializers: AfterColon
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: true
BreakStringLiterals: true
IncludeBlocks: Regroup
IndentPPDirectives: BeforeHash
IndentRequiresClause: true
InsertBraces: true
InsertTrailingCommas: Wrapped
QualifierAlignment: Left
RequiresClausePosition: OwnLine
PenaltyBreakAssignment: 0
PenaltyBreakTemplateDeclaration: 0
PenaltyBreakBeforeFirstCallParameter: 0
PenaltyBreakOpenParenthesis: 0