-
-
Notifications
You must be signed in to change notification settings - Fork 240
Expand file tree
/
Copy path.clang-format
More file actions
33 lines (24 loc) · 700 Bytes
/
.clang-format
File metadata and controls
33 lines (24 loc) · 700 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
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
#
---
BasedOnStyle: WebKit # http://www.webkit.org/coding/coding-style.html
Standard: Cpp03
UseTab: Never
IndentWidth: 4
ColumnLimit: 90
MaxEmptyLinesToKeep: 1
PenaltyBreakComment: 0
AllowShortFunctionsOnASingleLine: None
AllowShortBlocksOnASingleLine: Never
NamespaceIndentation: None
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Attach
ConstructorInitializerAllOnOneLineOrOnePerLine: false
KeepEmptyLinesAtTheStartOfBlocks: false
SpaceInEmptyBlock: false
SpaceAfterCStyleCast: false
BinPackArguments: true
BinPackParameters: false
AlignAfterOpenBracket: true
AlignTrailingComments: true
FixNamespaceComments: true