-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-format
More file actions
44 lines (38 loc) · 913 Bytes
/
Copy path.clang-format
File metadata and controls
44 lines (38 loc) · 913 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
34
35
36
37
38
39
40
41
42
43
44
---
Language: Cpp
BasedOnStyle: Google
Standard: c++11
IndentWidth: 2
TabWidth: 2
UseTab: Never
ColumnLimit: 100
DerivePointerAlignment: false
PointerAlignment: Left
ReferenceAlignment: Left
AccessModifierOffset: -1
NamespaceIndentation: None
BreakBeforeBraces: Attach
AlwaysBreakTemplateDeclarations: Yes
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: Empty
BinPackArguments: false
BinPackParameters: false
SortIncludes: CaseSensitive
IncludeBlocks: Regroup
IncludeCategories:
# Main header (e.g. foo.cpp -> foo.hpp)
- Regex: '^"chttp2/.*"'
Priority: 2
# System / standard library headers
- Regex: '^<.*>'
Priority: 1
# Other local headers
- Regex: '.*'
Priority: 3
ReflowComments: false
SpaceBeforeParens: ControlStatements
SpaceAfterCStyleCast: true
SpacesInAngles: Never
...