-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.clang-format
34 lines (34 loc) · 913 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
---
BasedOnStyle: LLVM
AlignAfterOpenBracket: Align
AlignConsecutiveMacros: AcrossEmptyLinesAndComments
AlignConsecutiveAssignments: Consecutive
AlignEscapedNewlines: Left
AlignOperands: true
AlignTrailingComments:
Kind: Always
OverEmptyLines: 1
AllowShortIfStatementsOnASingleLine: WithoutElse
AllowShortLambdasOnASingleLine: Inline
AllowShortLoopsOnASingleLine: false
BreakBeforeBraces: Attach
BreakBeforeBinaryOperators: None
BreakTemplateDeclarations: true
ColumnLimit: 119
ExperimentalAutoDetectBinPacking: true
FixNamespaceComments: true
IndentWidth: 4
MaxEmptyLinesToKeep: 1
NamespaceIndentation: None
ReflowComments: true
PenaltyBreakComment: 1
PenaltyBreakOpenParenthesis: 1 # modified; was 0
SortIncludes: CaseSensitive
SortUsingDeclarations: true
SpacesBeforeTrailingComments: 1
SpaceAfterCStyleCast: false
SpaceAfterLogicalNot: false
SpaceAfterTemplateKeyword: true
TabWidth: 4
UseTab: Never
...