-
Notifications
You must be signed in to change notification settings - Fork 5
/
.astylerc
71 lines (59 loc) · 874 Bytes
/
.astylerc
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
60
61
62
63
64
65
66
67
68
69
70
71
#
# Astyle format http://astyle.sourceforge.net/astyle.html
#
#
# Bracket Style Options
#
style=allman
#
# Tab Options
#
indent=tab=4
indent=force-tab=4
#
# Bracket Modify Options
#
attach-namespaces
#attach-classes
#attach-inlines
attach-extern-c
#
# Indentation Options
#
#--indent-classes=no
#--indent-modifiers=no
#--indent-switches=no
#--indent-cases=no
#--indent-namespaces=no
#--indent-labels=no
#--indent-preproc-block
#--indent-preproc-cond=no
--min-conditional-indent=0
#
# Padding Options
#
#break-blocks
pad-oper
#pad-paren-in
unpad-paren
#delete-empty-lines
align-pointer=type
align-reference=type
max-instatement-indent=80
#
# Formatting Options
#
#break-elseifs
keep-one-line-blocks
add-brackets
keep-one-line-statements
#remove-comment-prefix
max-code-length=120
break-after-logical
mode=c
#
# Other Options
#
suffix=none
formatted
lineend=linux