-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
63 lines (62 loc) · 1.74 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Clang version 9.0.0
Language: Cpp
# AccessModifierOffset: -4
# AllowShortBlocksOnASingleLine: false
# AlwaysBreakTemplateDeclarations: Yes
# AlignConsecutiveAssignments: false
# AlignConsecutiveDeclarations: false
# AlignOperands: false
# AlignTrailingComments: true
# AlignAfterOpenBracket: DontAlign
# AllowAllConstructorInitializersOnNextLine: false
# ConstructorInitializerAllOnOneLineOrOnePerLine: true
# AllowShortCaseLabelsOnASingleLine: true
# AllowShortIfStatementsOnASingleLine: false
# AllowShortFunctionsOnASingleLine: false
# BinPackArguments: false
# BreakBeforeBinaryOperators: NonAssignment
# BreakBeforeTernaryOperators: false
# BreakConstructorInitializers: AfterColon
# BreakInheritanceList: AfterColon
# BreakStringLiterals: false
ColumnLimit: 0
# CompactNamespaces: false
# FixNamespaceComments: false
# ContinuationIndentWidth: 2
# Cpp11BracedListStyle: false
# ExperimentalAutoDetectBinPacking: false
# IndentCaseLabels: true
# IndentPPDirectives: BeforeHash
# IndentWidth: 2
# MaxEmptyLinesToKeep: 1
# NamespaceIndentation: None
# PointerAlignment: Left
# ReflowComments: false
# SpaceAfterCStyleCast: false
# SpaceAfterTemplateKeyword: true
# SpaceBeforeCpp11BracedList: true
# SpacesInAngles: false
# SpacesInContainerLiterals: false
# SpacesInParentheses: false
# SpacesInSquareBrackets: false
# Standard: Cpp11
# TabWidth: 2
# UseTab: Always
BasedOnStyle: Google
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: true
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: true