-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
37 lines (34 loc) · 1.42 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
---
DisableFormat: false
BasedOnStyle: LLVM
TabWidth: 4
IndentWidth: 4
UseTab: Never
ColumnLimit: 120
Language: Cpp
Standard: c++20
AccessModifierOffset: -4
BreakBeforeBraces: Attach
AlignAfterOpenBracket: Align
AlignOperands: AlignAfterOperator
AlignTrailingComments: true
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
BreakStringLiterals: true
SpacesInContainerLiterals: false
SpacesInParentheses: false
SpacesInSquareBrackets: false
SpaceBeforeParens: ControlStatements
PointerAlignment: Left
ReferenceAlignment: Left
EmptyLineBeforeAccessModifier: Always
Cpp11BracedListStyle: true
SpaceBeforeCpp11BracedList: false
FixNamespaceComments: true
KeepEmptyLinesAtTheStartOfBlocks: false
IncludeBlocks: Preserve
---