-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-format
More file actions
36 lines (36 loc) · 918 Bytes
/
.clang-format
File metadata and controls
36 lines (36 loc) · 918 Bytes
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: GNU
IndentWidth: 4
TabWidth: 4
UseTab: Always
BreakBeforeBraces: Custom
BraceWrapping:
AfterFunction: true
AfterNamespace: true
AfterStruct: true
AfterClass: true
AfterControlStatement: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: true
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
ColumnLimit: 80
PenaltyReturnTypeOnItsOwnLine: 9999
AlwaysBreakAfterDefinitionReturnType: None
AlwaysBreakAfterReturnType: None
BinPackParameters: false
NamespaceIndentation: All
SortIncludes: false
AccessModifierOffset: -4
ConstructorInitializerAllOnOneLineOrOnePerLine: true
BreakConstructorInitializersBeforeComma: false
PointerAlignment: Left
AlignTrailingComments:
Kind: Always
OverEmptyLines: 2
AllowShortCaseLabelsOnASingleLine: false
BreakArrays: false
BreakConstructorInitializers: BeforeComma
SpaceBeforeParens: ControlStatements
Standard: c++14