-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
41 lines (40 loc) · 1.09 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
---
Language: Cpp
BasedOnStyle: WebKit
# user-defined details
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: false
AcrossComments: false
AlignCompound: true
PadOperators: true
AlignConsecutiveDeclarations: Consecutive
AlignConsecutiveBitFields: Consecutive
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLoopsOnASingleLine: true
# AllowShortBlocksOnASingleLine: true
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: WithoutElse
AlwaysBreakTemplateDeclarations: true
BinPackArguments: false
BinPackParameters: false
BreakBeforeConceptDeclarations: Always
BreakBeforeTernaryOperators: true
BreakStringLiterals: true
BreakConstructorInitializers: BeforeComma
BreakBeforeBraces: Allman
ColumnLimit: 120
EmptyLineBeforeAccessModifier: Always
ExperimentalAutoDetectBinPacking: false
FixNamespaceComments: true
IncludeBlocks: Regroup
IndentCaseBlocks: true
Language: Cpp
NamespaceIndentation: None
PointerAlignment: Left
ReferenceAlignment: Left
SpaceInEmptyBlock: false
SpaceBeforeCaseColon: false
UseTab: Never
UseCRLF: false