-
Notifications
You must be signed in to change notification settings - Fork 13
/
.clang-format
38 lines (38 loc) · 955 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
---
Language: Cpp
AccessModifierOffset: -4
AlignAfterOpenBracket: DontAlign
AlignArrayOfStructures: Left
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: true
AllowShortBlocksOnASingleLine: Never
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: None
BraceWrapping:
AfterNamespace: true
BeforeWhile: true
BreakAfterAttributes: Always
BreakBeforeBraces: Allman
ColumnLimit: 120
FixNamespaceComments: true
IncludeBlocks: Preserve
IndentWidth: 4
IndentCaseBlocks: true
IndentCaseLabels: true
InsertBraces: true
PackConstructorInitializers: Never
PointerAlignment: Left
ReferenceAlignment: Left
SeparateDefinitionBlocks: Always
SortIncludes: CaseSensitive
SpaceBeforeParens: Custom
SpaceBeforeParensOptions:
AfterControlStatements: false
AfterFunctionDefinitionName: false
SpaceBeforeRangeBasedForLoopColon: true
SpacesInAngles: Never
SpacesInParentheses: false
Standard: c++20
UseTab: Never