forked from MengRao/fmtlog
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.clang-format
56 lines (56 loc) · 1.67 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
BasedOnStyle: Google
AlignAfterOpenBracket: 'AlwaysBreak'
AllowAllConstructorInitializersOnNextLine: 'false'
AllowAllParametersOfDeclarationOnNextLine: 'false'
AlignConsecutiveMacros: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: 'None'
AllowShortIfStatementsOnASingleLine: 'Never'
AllowShortLoopsOnASingleLine: 'false'
BreakBeforeBraces: Allman
BinPackArguments: 'false'
BinPackParameters: 'false'
Cpp11BracedListStyle: 'false'
ColumnLimit: 125
NamespaceIndentation: All
SpaceAfterTemplateKeyword: 'false'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyBlock: true
Standard: 'Latest'
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 1
SortPriority: 3
CaseSensitive: true
- Regex: '^(<|")(windows.h)'
Priority: 1
SortPriority: 1
- Regex: '^(<|")(processthreadsapi.h)'
Priority: 2
SortPriority: 2
- Regex: '<[[:alnum:].]+>'
Priority: 5
SortPriority: 1
- Regex: '<[[:alnum:].]+_+[[:alnum:].]+>'
Priority: 5
SortPriority: 4
- Regex: '^((<|")(gtest|gmock|isl|json)/)'
Priority: 8
SortPriority: 5
- Regex: '^((<|")(fmt/|fmtlog/))'
Priority: 11
SortPriority: 6
- Regex: '^(<|")(arby)'
Priority: 8
SortPriority: 100
- Regex: '^(<|")./'
Priority: 10
SortPriority: 101
- Regex: '^(<|")(.*)'
Priority: 15
SortPriority: 7
...