-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.clang-format
39 lines (37 loc) · 969 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
35
36
37
38
39
---
Language: Cpp
BasedOnStyle: WebKit
AlwaysBreakBeforeMultilineStrings: true
AlignAfterOpenBracket: AlwaysBreak
AllowAllArgumentsOnNextLine: false
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortFunctionsOnASingleLine: Inline
AlwaysBreakTemplateDeclarations: Yes
BinPackArguments: false
BinPackParameters: false
BreakInheritanceList: BeforeComma
ColumnLimit: 100
Cpp11BracedListStyle: true
FixNamespaceComments: true
IndentGotoLabels: false
KeepEmptyLinesAtTheStartOfBlocks: false
NamespaceIndentation: None
ShortNamespaceLines: 0
SpaceAfterCStyleCast: true
SpaceAfterTemplateKeyword: false
SpaceInEmptyBlock: false
SpacesInContainerLiterals: false
PointerAlignment: Left
TabWidth: '4'
UseTab: ForContinuationAndIndentation
SortIncludes: true
IncludeBlocks: Regroup
IncludeCategories:
- Regex: '^"(.*)"$'
Priority: 1
- Regex: '^<[^>]*\.(h|hpp)>$'
Priority: 3
- Regex: '^<.*>$'
Priority: 2
...