-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.clang-format
36 lines (35 loc) · 1 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
---
BasedOnStyle: Microsoft
Language: Cpp
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveDeclarations: 'true'
AlignTrailingComments: 'true'
# AllowShortEnumsOnASingleLine : 'true'
AllowShortFunctionsOnASingleLine: InlineOnly
# AllowShortLambdasOnASingleLine: SLS_Inline
AlwaysBreakBeforeMultilineStrings: 'true'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
# BreakBeforeConceptDeclarations: 'true'
# IndentRequires: 'true'
SpaceAfterTemplateKeyword: 'true'
SpacesInAngles: 'false'
# BreakBeforeBraces: Allman
BreakBeforeBraces: Custom
BraceWrapping:
AfterEnum: true
AfterClass: false
AfterStruct: false
#BeforeLambdaBody: false
SplitEmptyFunction: false
SplitEmptyRecord: false
BreakBeforeTernaryOperators: 'true'
BreakConstructorInitializers: BeforeComma
BreakInheritanceList: BeforeComma
Cpp11BracedListStyle: 'true'
NamespaceIndentation: All
FixNamespaceComments: 'false'
PointerAlignment: "Left"
IndentWidth: 4
TabWidth: 4