-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
36 lines (34 loc) · 885 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
36
BasedOnStyle: LLVM
Language: Cpp
IndentWidth: 4
ColumnLimit: 120
AlignAfterOpenBracket: BlockIndent
BinPackArguments: false
BinPackParameters: false
InsertTrailingCommas: Wrapped
AllowShortFunctionsOnASingleLine: Empty
AllowShortBlocksOnASingleLine: Empty
AlwaysBreakTemplateDeclarations: Yes
DerivePointerAlignment: false
PointerAlignment: Left
ReferenceAlignment: Pointer
PackConstructorInitializers: NextLine
BreakBeforeBraces: Custom
BraceWrapping:
AfterClass: true
AfterStruct: true
AfterUnion: true
AfterEnum: true
AfterCaseLabel: false
AfterNamespace: false
AfterExternBlock: false
SplitEmptyNamespace: false
SplitEmptyRecord: false
SplitEmptyFunction: false
AfterControlStatement: Never
AfterFunction: true
BeforeWhile: false
BeforeLambdaBody: false
IndentBraces: false
BeforeElse: false
BeforeCatch: false