-
Notifications
You must be signed in to change notification settings - Fork 2
/
uncrustify.cfg
63 lines (63 loc) · 2.47 KB
/
uncrustify.cfg
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
# For explanation of these config options or to see additional options, run
# uncrustify --update-config-with-doc
input_tab_size = 2
output_tab_size = 2
sp_arith = force
sp_assign = add
sp_bool = force
sp_compare = force
sp_paren_brace = add
sp_before_sparen = add
sp_after_sparen = add
sp_sparen_brace = add
sp_before_semi_for = remove
sp_before_semi_for_empty = add
sp_after_class_colon = add
sp_before_class_colon = remove
sp_sizeof_paren = remove
sp_cmt_cpp_start = add
sp_func_call_paren = remove
indent_columns = 2
indent_with_tabs = 0
indent_class = true
indent_switch_case = indent_columns
nl_collapse_empty_body = true
nl_start_of_file = remove
nl_assign_brace = remove
nl_fcall_brace = remove
nl_enum_brace = remove
nl_enum_class = remove
nl_enum_class_identifier = 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
nl_max = 4
nl_max_blank_in_func = 2
nl_after_multiline_comment = true
nl_end_of_file = add
code_width = 120
align_assign_span = 1
align_assign_thresh = 8
mod_paren_on_return = remove
mod_sort_include = true
align_func_params = true
indent_token_after_brace = false
mod_full_brace_if_chain_only = true
nl_after_semicolon = true
nl_after_switch = remove
nl_before_if_closing_paren = remove
nl_brace_struct_var = remove
nl_func_def_end = remove
nl_return_expr = remove
nl_switch_brace = remove
nl_while_brace = remove
sp_after_comma = add
sp_inside_paren = remove
sp_else_brace = force
sp_brace_else = force
use_indent_func_call_param = false