-
Notifications
You must be signed in to change notification settings - Fork 110
/
.clang-format
59 lines (59 loc) · 1.45 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
57
58
59
---
Language: Cpp
BasedOnStyle: Google
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignEscapedNewlinesLeft: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakBeforeBraces: Allman
BreakStringLiterals: 'false'
ColumnLimit: '90'
Cpp11BracedListStyle: 'true'
IncludeBlocks: Regroup
IndentCaseLabels: 'true'
IndentWidth: '4'
MaxEmptyLinesToKeep: '3'
NamespaceIndentation: All
ReflowComments: 'true'
SortIncludes: 'true'
Standard: Cpp11
TabWidth: '4'
UseTab: Never
---
Language: JavaScript
# Don't format javascript files
DisableFormat: true
---
Language: Proto
BasedOnStyle: Google
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: 'true'
AlignEscapedNewlinesLeft: 'false'
AllowShortBlocksOnASingleLine: 'false'
AllowShortCaseLabelsOnASingleLine: 'false'
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: 'false'
AllowShortLoopsOnASingleLine: 'false'
BinPackArguments: 'true'
BinPackParameters: 'true'
BreakBeforeBraces: Allman
BreakStringLiterals: 'false'
ColumnLimit: '90'
Cpp11BracedListStyle: 'true'
IncludeBlocks: Regroup
IndentCaseLabels: 'true'
IndentWidth: '4'
MaxEmptyLinesToKeep: '3'
NamespaceIndentation: All
ReflowComments: 'true'
SortIncludes: 'true'
Standard: Cpp11
TabWidth: '4'
UseTab: Never
---