-
Notifications
You must be signed in to change notification settings - Fork 1
/
.clang-format
32 lines (32 loc) · 906 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
IndentWidth: 4
TabWidth: 4
UseTab: Never
Language: Cpp
BasedOnStyle: Microsoft
Standard: c++17
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignEscapedNewlinesLeft: true
AllowShortFunctionsOnASingleLine: false
BinPackArguments: false
BinPackParameters: false
ColumnLimit: 160
IndentCaseLabels: false
IndentCaseBlocks: true
PointerAlignment: Left
SortIncludes: false
SpaceAfterCStyleCast: false
SpaceBeforeAssignmentOperators: true
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
FixNamespaceComments: true
NamespaceIndentation: All
BreakBeforeBraces: Allman
IndentPPDirectives: AfterHash
# AlignArrayOfStructures: Right // clang-format-13
BreakConstructorInitializers: BeforeComma
ConstructorInitializerAllOnOneLineOrOnePerLine: false
IncludeBlocks: Preserve
IndentExternBlock: Indent