-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
29 lines (29 loc) · 962 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
Language: Cpp
BasedOnStyle: Google
BreakBeforeBraces: Attach
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
SpaceBeforeCtorInitializerColon: true
SpaceBeforeInheritanceColon: true
SpaceBeforeRangeBasedForLoopColon: true # Precede the colon with a space when and only when it is used as an operator
SpaceAfterTemplateKeyword: false # To be determined
ColumnLimit: 0
UseTab: Never # To be determined
IndentWidth: 4
AccessModifierOffset: -4
IndentCaseLabels: false
SeparateDefinitionBlocks: Always
EmptyLineBeforeAccessModifier: Always
InsertBraces: true
FixNamespaceComments: false
DerivePointerAlignment: false
ReferenceAlignment: Right
PointerAlignment: Right
QualifierAlignment: Custom
QualifierOrder: ["static", "constexpr", "inline", "type", "const"]
AllowShortBlocksOnASingleLine: Empty
AllowShortFunctionsOnASingleLine: Empty
AllowShortLambdasOnASingleLine: Empty
LineEnding: LF
InsertNewlineAtEOF: true
IncludeBlocks: Preserve