-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
41 lines (41 loc) · 1.11 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: LLVM
AccessModifierOffset: -2
AlignAfterOpenBracket: BlockIndent
AlignArrayOfStructures: Left
AlignConsecutiveAssignments:
Enabled: true
AcrossEmptyLines: true
AlignConsecutiveBitFields:
Enabled: true
AcrossEmptyLines: true
AlignConsecutiveDeclarations:
Enabled: true
AcrossEmptyLines: true
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AlignEscapedNewlines: Left
AllowShortFunctionsOnASingleLine: None
BinPackArguments: false
BinPackParameters: false
BitFieldColonSpacing: After
BraceWrapping:
SplitEmptyFunction: false
SplitEmptyRecord: false
SplitEmptyNamespace: false
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: false
ColumnLimit: 0
CompactNamespaces: true
EmptyLineAfterAccessModifier: Leave
EmptyLineBeforeAccessModifier: Leave
IncludeBlocks: Merge
IndentPPDirectives: AfterHash
IndentWidth: 4
PointerAlignment: Middle
SpaceBeforeCpp11BracedList: true
SpaceBeforeCtorInitializerColon: false
SpaceBeforeInheritanceColon: false
SpacesInContainerLiterals: false