-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
44 lines (44 loc) · 1.05 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
42
43
44
BasedOnStyle: Google
IndentWidth: 4
ContinuationIndentWidth: 4
ColumnLimit: 80
---
Language: Cpp
AccessModifierOffset: -4
Standard: Latest
AllowShortFunctionsOnASingleLine: false
DerivePointerAlignment: false
PointerAlignment: Middle
BreakBeforeBraces: Custom
IndentCaseLabels: false
BraceWrapping:
AfterFunction: true
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: MultiLine
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
SplitEmptyFunction: false
SplitEmptyRecord: true
SplitEmptyNamespace: true
UseTab: Never
Cpp11BracedListStyle: true
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
BreakStringLiterals: true
DeriveLineEnding: false
UseCRLF: false
FixNamespaceComments: true
CompactNamespaces: false
ConstructorInitializerAllOnOneLineOrOnePerLine: false
SpaceAfterTemplateKeyword: false
IncludeBlocks: Preserve