-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy path.clang-format
More file actions
36 lines (31 loc) · 793 Bytes
/
.clang-format
File metadata and controls
36 lines (31 loc) · 793 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: WebKit
TypeNames: [u8, u16, u32, u64]
ColumnLimit: 0
AlignAfterOpenBracket: DontAlign
UseTab: ForContinuationAndIndentation
IndentWidth: 4
ContinuationIndentWidth: 8
BracedInitializerIndentWidth: 4
TabWidth: 4
PointerAlignment: Right
SpaceAfterCStyleCast: false
BreakBeforeBraces: Stroustrup
AlignConsecutiveMacros:
Enabled: true
AlignEscapedNewlines: DontAlign
AlignTrailingComments:
Kind: Always
OverEmptyLines: 0
AllowShortBlocksOnASingleLine: true
AllowShortCaseLabelsOnASingleLine: true
AllowShortLoopsOnASingleLine: false
IndentCaseLabels: true
MaxEmptyLinesToKeep: 2
SortIncludes: false
SpacesBeforeTrailingComments: 2
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: AfterColon
InsertNewlineAtEOF: true
...