-
Notifications
You must be signed in to change notification settings - Fork 32
/
.clang-format
29 lines (25 loc) · 680 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
---
BasedOnStyle: WebKit
ColumnLimit: 0
AlignAfterOpenBracket: DontAlign
UseTab: ForContinuationAndIndentation
IndentWidth: 4
ContinuationIndentWidth: 4
TabWidth: 4
PointerAlignment: Right
SpaceAfterCStyleCast: 'false'
BreakBeforeBraces: Stroustrup
AlignConsecutiveMacros: 'true'
AlignEscapedNewlines: DontAlign
AlignTrailingComments: 'true'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortLoopsOnASingleLine: 'true'
IndentCaseLabels: 'true'
MaxEmptyLinesToKeep: 2
SortIncludes: 'false'
SpacesBeforeTrailingComments: 2
BreakBeforeBinaryOperators: None
BreakBeforeTernaryOperators: 'false'
BreakConstructorInitializers: AfterColon
...