-
Notifications
You must be signed in to change notification settings - Fork 34
/
.clang-format
47 lines (44 loc) · 1.2 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
---
BasedOnStyle: LLVM
IndentWidth: 2
TabWidth: 2
UseTab: Never
MaxEmptyLinesToKeep: 2
ColumnLimit: 100
Language: Cpp
#LambdaBodyIndentation: OuterScope
Cpp11BracedListStyle: true
PointerAlignment: Left
ConstructorInitializerIndentWidth: '2'
ContinuationIndentWidth: 2
SortIncludes: 'true'
EmptyLineBeforeAccessModifier: Leave
BinPackArguments: 'true'
BinPackParameters: 'true'
AlignAfterOpenBracket: Align
AlignEscapedNewlines: Left
KeepEmptyLinesAtTheStartOfBlocks: true
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AlwaysBreakTemplateDeclarations: 'Yes'
AllowShortFunctionsOnASingleLine: Inline
AllowShortBlocksOnASingleLine: Always
AllowShortEnumsOnASingleLine: true
BreakConstructorInitializers: BeforeComma
BreakBeforeConceptDeclarations: 'true'
Standard: c++14
EmptyLineBeforeAccessModifier: Always
BreakBeforeBinaryOperators: NonAssignment
AlignConsecutiveAssignments: true
NamespaceIndentation: Inner
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterControlStatement: MultiLine
SplitEmptyFunction: false
SplitEmptyRecord: false
BeforeElse: true
BeforeLambdaBody: false
...