-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.clang-format
More file actions
32 lines (32 loc) · 903 Bytes
/
.clang-format
File metadata and controls
32 lines (32 loc) · 903 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
UseTab: Never
TabWidth: 2
ColumnLimit: 110
AlignAfterOpenBracket: AlwaysBreak
AlignOperands: Align
AlignTrailingComments: false
BraceWrapping:
AfterControlStatement: true
BeforeElse: true
AfterFunction: true
BeforeCatch: true
BeforeLambdaBody: true
BeforeWhile: true
AfterClass: true
AfterEnum: true
AfterStruct: true
AfterUnion: true
BreakBeforeBraces: Allman
MaxEmptyLinesToKeep: 1
NamespaceIndentation: All
IndentCaseLabels: true
AllowShortIfStatementsOnASingleLine: false
AllowShortBlocksOnASingleLine: Never
SortUsingDeclarations: LexicographicNumeric
AllowShortCaseExpressionOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortCompoundRequirementOnASingleLine: false
AllowShortEnumsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortLambdasOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortNamespacesOnASingleLine: false