forked from archibate/co_async
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
62 lines (62 loc) · 1.74 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
BasedOnStyle: LLVM
Standard: c++20
IndentWidth: 4
AccessModifierOffset: -4
ColumnLimit: 80
DeriveLineEnding: false
UseCRLF: false
# LineEnding: LF
# InsertNewlineAtEOF: true
UseTab: Never
TabWidth: 4
IndentCaseLabels: false
IndentCaseBlocks: false
IndentRequiresClause: true
BreakBeforeConceptDeclarations: Always
IndentAccessModifiers: false
AllowShortIfStatementsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortLambdasOnASingleLine: Inline
AllowAllArgumentsOnNextLine: true
AlignTrailingComments: true
AlignEscapedNewlines: true
AlignConsecutiveDeclarations: false
AllowShortFunctionsOnASingleLine: Empty
AlignOperands: true
LambdaBodyIndentation: Signature
NamespaceIndentation: None
PackConstructorInitializers: CurrentLine
EmptyLineBeforeAccessModifier: LogicalBlock
FixNamespaceComments: true
ReflowComments: false
SpaceAfterTemplateKeyword: true
SpaceBeforeRangeBasedForLoopColon: false
SpaceBeforeCtorInitializerColon: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyBlock: false
AlwaysBreakTemplateDeclarations: true
# BreakTemplateDeclarations: Yes
SeparateDefinitionBlocks: Always
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: false
AfterClass: false
AfterStruct: false
AfterUnion: false
AfterFunction: false
AfterControlStatement: false
AfterCaseLabel: false
SplitEmptyFunction: false
BeforeCatch: false
BeforeElse: false
DerivePointerAlignment: false
PointerAlignment: Right
ReferenceAlignment: Pointer
SortIncludes: false
SortUsingDeclarations: false
SpaceAroundPointerQualifiers: After
QualifierAlignment: Custom
QualifierOrder: ['static', 'inline', 'constexpr', 'type', 'const', 'volatile']