-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
35 lines (35 loc) · 937 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
33
34
35
BasedOnStyle: Microsoft
AlignAfterOpenBracket: AlwaysBreak
ContinuationIndentWidth: 2
DerivePointerAlignment: true
IndentWidth: 2
# NamespaceIndentation: Inner
Cpp11BracedListStyle: false
BreakBeforeBraces: Custom
AllowShortLambdasOnASingleLine: Empty
BraceWrapping:
AfterControlStatement: Never
AfterClass: false
AfterStruct: false
AfterUnion: false
AfterCaseLabel: false
AfterExternBlock: false
AfterNamespace: false
AfterEnum: false
AfterFunction: false
BeforeCatch: false
BeforeElse: false
BeforeLambdaBody: false
BeforeWhile: false
SplitEmptyRecord: true
SplitEmptyFunction: true
SplitEmptyNamespace: true
BreakConstructorInitializersBeforeComma: true
SortIncludes: false
AlwaysBreakTemplateDeclarations: Yes
#SeparateDefinitionBlocks: Always
IndentPPDirectives: BeforeHash
NamespaceIndentation: All
MaxEmptyLinesToKeep: 2
SeparateDefinitionBlocks: Always
EmptyLineBeforeAccessModifier: LogicalBlock