-
Notifications
You must be signed in to change notification settings - Fork 4
/
.clang-format
34 lines (34 loc) · 1014 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
BasedOnStyle: Google
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveDeclarations: 'false'
AlignEscapedNewlinesLeft: DontAlign
AlignOperands: 'false'
AlignTrailingComments: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: false
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakBeforeBinaryOperators: 'true'
ColumnLimit: '80'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
ConstructorInitializerIndentWidth: '2'
ContinuationIndentWidth: '2'
DeriveLineEnding: false
DerivePointerAlignment: false
IndentRequires: true
IndentWidth: '2'
MaxEmptyLinesToKeep: '1'
PointerAlignment: Left
ReflowComments: true
SpaceBeforeCpp11BracedList: 'true'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeRangeBasedForLoopColon: 'false'
SpacesBeforeTrailingComments: '0'
Standard: c++20
TabWidth: '2'
LineEnding: 'LF'
UseCRLF: false
UseTab: Never