forked from chenshuo/libevent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.uncrustify
55 lines (55 loc) · 2.61 KB
/
.uncrustify
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
input_tab_size = 8
output_tab_size = 8
indent_with_tabs = 2
indent_cmt_with_tabs = false
indent_brace_parent = false
indent_func_call_param = true
indent_func_def_param = true
sp_enum_before_assign = add
sp_enum_after_assign = add
sp_inside_paren = remove
sp_paren_brace = add
sp_before_ptr_star = add
sp_before_unnamed_ptr_star = add
sp_between_ptr_star = remove
sp_after_ptr_star = remove
sp_after_ptr_star_func = add
sp_before_ptr_star_func = add
sp_before_sparen = add
sp_inside_sparen = remove
sp_inside_sparen_close = remove
sp_after_sparen = add
sp_sparen_brace = add
sp_special_semi = remove
sp_before_semi_for = remove
sp_after_comma = add
sp_after_cast = remove
sp_inside_braces_struct = add
sp_type_func = remove
sp_func_def_paren = remove
sp_inside_fparen = remove
sp_fparen_brace = add
sp_func_call_paren = remove
sp_else_brace = add
sp_after_oc_block_caret = remove
align_keep_tabs = true
align_with_tabs = true
align_on_tabstop = true
nl_fcall_brace = remove
nl_enum_brace = remove
nl_struct_brace = remove
nl_union_brace = remove
nl_if_brace = remove
nl_brace_else = remove
nl_elseif_brace = remove
nl_else_brace = remove
nl_else_if = remove
nl_for_brace = remove
sp_after_semi_for_empty = remove
nl_while_brace = remove
nl_do_brace = remove
nl_brace_while = remove
nl_switch_brace = remove
nl_func_type_name = add
nl_fdef_brace = add
mod_paren_on_return = ignore