forked from maihd/lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format-unused
61 lines (61 loc) · 1.57 KB
/
.clang-format-unused
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
IndentWidth: 4
UseTab: Never
InsertNewlineAtEOF: true
#KeepEmptyLinesAtEOF: true
#InsertTrailingCommas: Wrapped
#IntegerLiteralSeparator:
# Binary: -1
# Decimal: -1
# Hex: -1
---
Language: Cpp
ColumnLimit: 80
DerivePointerAlignment: false
PointerAlignment: Left
AlignArrayOfStructures: Left
AlignConsecutiveAssignments: Consecutive
AlignConsecutiveBitFields: Consecutive
AlignConsecutiveDeclarations: Consecutive
AlignEscapedNewlines: Right
AlignOperands: AlignAfterOperator
AlignTrailingComments: Always
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortBlocksOnASingleLine: Empty
AllowShortCaseLabelsOnASingleLine: true
AllowShortEnumsOnASingleLine: true
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: true
AlwaysBreakBeforeMultilineStrings: true
AlwaysBreakTemplateDeclarations: MultiLine
AttributeMacros: []
BitFieldColonSpacing: Both
BreakBeforeBraces: Allman
IndentCaseLabels: false
InsertBraces: true
#BraceWrappingAfterControlStatementStyle: Always
#BreakBeforeBraces: Custom
#BraceWrapping:
# AfterCaseLabel: true
# AfterClass: true
# AfterEnum: true
# AfterUnion: true
# AfterStruct: true
# AfterFunction: true
# AfterNamespace: true
# AfterExternBlock: false
# BeforeElse: true
# BeforeLambdaBody: false
# IndentBraces: true
# SplitEmptyFunction: true
# SplitEmptyRecord: true
# SplitEmptyNamespace: true
AlignConsecutiveMacros:
Enabled: true
AcrossEmptyLines: true
AcrossComments: false
AlignCompound: true
PadOperators: true
CompactNamespaces: false