-
Notifications
You must be signed in to change notification settings - Fork 59
/
.clang-format
45 lines (43 loc) · 1.05 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
Language: Cpp
BasedOnStyle: Google
Standard: Cpp11
BinPackArguments: false
BinPackParameters: false
BraceWrapping:
AfterClass: true
AfterControlStatement: false
AfterEnum : true
AfterCaseLabel: true
AfterFunction : true
AfterNamespace : true
AfterStruct : true
AfterUnion : true
BeforeCatch : true
# BeforeElse : true
IndentBraces : false
BreakBeforeBraces: Custom
BreakBeforeBinaryOperators: All
IndentCaseLabels: true
IndentWidth: 4
SpaceBeforeParens: Never
SpaceInEmptyParentheses: false
SpacesBeforeTrailingComments: 2
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInContainerLiterals: true
SpacesInSquareBrackets: true
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
UseTab: Never
ColumnLimit: 120
IncludeCategories:
- Regex: '^"postgres.*"'
Priority: -1
- Regex: '^<postgres.*>'
Priority: -1
- Regex: '^<.*>'
Priority: 1
- Regex: '^".*"'
Priority: 2
SortIncludes: true
IncludeBlocks: Regroup