-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-format
57 lines (57 loc) · 1.35 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
BasedOnStyle: Chromium
Language: Cpp
MaxEmptyLinesToKeep: 3
IndentCaseLabels: false
AllowShortIfStatementsOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
DerivePointerAlignment: false
PointerAlignment: Right
SpaceAfterCStyleCast: true
TabWidth: 2
UseTab: Never
IndentWidth: 2
AlignConsecutiveAssignments: false
IndentGotoLabels: true
AccessModifierOffset: -2
AlignConsecutiveMacros: false
AlignTrailingComments: false
SpacesInParentheses: false
SpacesBeforeTrailingComments : 4
SpaceBeforeParens: ControlStatements
SpaceBeforeAssignmentOperators: true
SortIncludes: false
Cpp11BracedListStyle: false
ContinuationIndentWidth: 2
AllowShortLoopsOnASingleLine: false
BinPackArguments: true
ColumnLimit: 0
AllowShortEnumsOnASingleLine: true
AllowAllParametersOfDeclarationOnNextLine: true
BreakBeforeBraces: Custom
NamespaceIndentation: All
Cpp11BracedListStyle: false
ForEachMacros:
- foreach
- Q_FOREACH
- BOOST_FOREACH
- list_for_each
- list_for_each_safe
- list_for_each_entry
- list_for_each_entry_safe
- hlist_for_each_entry
- rb_list_foreach
- rb_list_foreach_safe
- EV_FOREACH
- LIST_FOREACH
BraceWrapping:
AfterClass: false
AfterStruct: false
AfterControlStatement: false
AfterEnum: false
AfterFunction: true
AfterObjCDeclaration: false
AfterUnion: false
BeforeCatch: false
BeforeElse: true
IndentBraces: false