-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.clang-format
56 lines (54 loc) · 1.85 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
# One line format for CI
# { BasedOnStyle: Microsoft, ColumnLimit: 0, IndentWidth: 4, PointerAlignment: Right, Standard: Auto, UseTab: Never, SortIncludes: false, AlignEscapedNewlines: DontAlign, BraceWrapping: { AfterCaseLabel: true, AfterControlStatement: Always, AfterUnion: true }, TypenameMacros : [ArrPt, ArrSt, SetPt, SetSt, TreePt, TreeSt], MacroBlockBegin : 'arrst_foreach(.*)|arrst_foreach_const(.*)|arrst_forback(.*)|arrst_forback_const(.*)|arrpt_foreach(.*)|stm_lines(.*)|setst_foreach(.*)|setst_foreach_const(.*)|setst_forback(.*)|setst_forback_const(.*)|setpt_foreach(.*)|setpt_foreach_const(.*)|setpt_forback(.*)|setpt_forback_const(.*)', MacroBlockEnd : 'arrst_end(.*)|arrpt_end(.*)|stm_next(.*)|setst_fornext(.*)|setst_fornext_const(.*)|setst_forprev(.*)|setst_forprev_const(.*)|setpt_fornext(.*)|setpt_fornext_const(.*)|setpt_forprev(.*)|setpt_forprev_const(.*)' }
---
BasedOnStyle: Microsoft
ColumnLimit: '0'
IndentWidth: '4'
PointerAlignment: Right
Standard: Auto
UseTab: Never
SortIncludes: false
AlignEscapedNewlines: DontAlign
BraceWrapping:
AfterCaseLabel: true
AfterControlStatement: Always
AfterUnion: true
SpacesInAngles: true
TypenameMacros:
- ArrSt
- ArrPt
- SetPt
- SetSt
- TreePt
- TreeSt
MacroBlockBegin: "\
arrst_foreach(.*)|\
arrst_foreach_const(.*)|\
arrst_forback(.*)|\
arrst_forback_const(.*)|\
arrpt_foreach(.*)|\
arrpt_foreach_const(.*)|\
arrpt_forback(.*)|\
arrpt_forback_const(.*)|\
stm_lines(.*)|\
setst_foreach(.*)|\
setst_foreach_const(.*)|\
setst_forback(.*)|\
setst_forback_const(.*)|\
setpt_foreach(.*)|\
setpt_foreach_const(.*)|\
setpt_forback(.*)|\
setpt_forback_const(.*)"
MacroBlockEnd: "\
arrst_end(.*)|\
arrpt_end(.*)|\
stm_next(.*)|\
setst_fornext(.*)|\
setst_fornext_const(.*)|\
setst_forprev(.*)|\
setst_forprev_const(.*)|\
setpt_fornext(.*)|\
setpt_fornext_const(.*)|\
setpt_forprev(.*)|\
setpt_forprev_const(.*)"
...