-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
38 lines (38 loc) · 1003 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
37
38
---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 150
UseTab: Never
IndentWidth: 2
ContinuationIndentWidth: 4
Cpp11BracedListStyle: true
BinPackArguments: false
BinPackParameters: false
AlignAfterOpenBracket: AlwaysBreak
BreakConstructorInitializers: BeforeColon
SpaceBeforeRangeBasedForLoopColon: false
TabWidth: 2
AlignEscapedNewlines: DontAlign
SpacesBeforeTrailingComments: 2
SpaceBeforeCtorInitializerColon: false
AllowShortBlocksOnASingleLine: Always
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLoopsOnASingleLine: false
AllowShortEnumsOnASingleLine: false
BraceWrapping:
AfterCaseLabel: false
AfterClass: true
AfterControlStatement: Never
AfterEnum: false
AfterFunction: false
AfterNamespace: false
AfterUnion: false
BeforeCatch: false
BeforeElse: false
IndentBraces: false
SplitEmptyFunction: false
SplitEmptyRecord: false
KeepEmptyLinesAtTheStartOfBlocks: false
DerivePointerAlignment: false
PointerAlignment: Left