-
Notifications
You must be signed in to change notification settings - Fork 58
/
uncrustify.conf
147 lines (147 loc) · 7.11 KB
/
uncrustify.conf
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# Uncrustify 0.61
# Generated from wlc source
newlines = lf
tok_split_gte = false
utf8_bom = remove
utf8_force = true
indent_columns = 3
indent_with_tabs = 0
indent_braces = false
indent_braces_no_func = false
indent_braces_no_struct = false
indent_brace_parent = false
indent_else_if = false
indent_var_def_cont = false
indent_func_def_force_col1 = false
indent_func_call_param = false
indent_func_def_param = false
indent_func_proto_param = false
indent_func_param_double = false
indent_relative_single_line_comments = false
indent_switch_case = indent_columns
indent_col1_comment = true
indent_label = 1
indent_access_spec = 1
indent_access_spec_body = false
indent_paren_nl = false
indent_comma_paren = false
indent_bool_paren = false
indent_first_bool_expr = false
indent_square_nl = false
indent_preserve_sql = false
indent_align_assign = true
sp_arith = force
sp_assign = force
sp_assign_default = force
sp_before_assign = force
sp_after_assign = force
sp_enum_assign = force
sp_pp_concat = ignore
sp_bool = force
sp_compare = force
sp_inside_paren = remove
sp_paren_paren = remove
sp_paren_brace = remove
sp_before_ptr_star = force
sp_before_unnamed_ptr_star = remove
sp_between_ptr_star = remove
sp_after_ptr_star = remove
sp_after_ptr_star_func = force
sp_after_type = force
sp_before_sparen = force
sp_inside_sparen = remove
sp_after_sparen = force
sp_sparen_brace = force
sp_before_semi = remove
sp_before_semi_for = remove
sp_after_semi = add
sp_after_semi_for = force
sp_before_square = remove
sp_before_squares = remove
sp_inside_square = remove
sp_after_comma = force
sp_before_comma = remove
sp_paren_comma = force
sp_before_case_colon = remove
# buggy with (type){ ... }
# sp_after_cast = remove
sp_inside_paren_cast = remove
sp_sizeof_paren = remove
sp_inside_braces = ignore
sp_inside_braces_empty = remove
sp_type_func = force
sp_func_proto_paren = remove
sp_func_def_paren = remove
sp_inside_fparens = remove
sp_inside_fparen = remove
sp_func_call_paren = remove
sp_func_call_paren_empty = remove
sp_attribute_paren = remove
sp_defined_paren = remove
sp_else_brace = force
sp_brace_else = force
sp_word_brace = add
sp_word_brace_ns = add
sp_before_nl_cont = add
sp_cond_colon = force
sp_cond_question = force
sp_cond_ternary_short = remove
sp_cmt_cpp_start = add
align_keep_tabs = false
align_with_tabs = false
align_on_tabstop = false
align_number_left = false
align_keep_extra_space = false
align_func_params = false
align_same_func_call_params = false
nl_assign_leave_one_liners = true
nl_start_of_file = remove
nl_end_of_file = force
nl_end_of_file_min = 1
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
nl_while_brace = remove
nl_do_brace = remove
nl_brace_while = remove
nl_switch_brace = remove
nl_multi_line_cond = false
nl_multi_line_define = false
nl_before_case = false
nl_after_case = false
nl_case_colon_brace = force
nl_func_type_name = force
nl_func_proto_type_name = remove
nl_func_paren = remove
nl_func_def_paren = remove
nl_func_decl_start = remove
nl_func_def_start = remove
nl_func_decl_args = remove
nl_func_def_args = remove
nl_func_decl_end = remove
nl_func_def_end = remove
nl_func_decl_empty = remove
nl_func_def_empty = remove
nl_fdef_brace = force
nl_return_expr = remove
nl_after_semicolon = remove
nl_max = 2
nl_before_block_comment = 1
nl_before_c_comment = 1
nl_before_cpp_comment = 1
nl_after_struct = 1
eat_blanks_after_open_brace = true
eat_blanks_before_close_brace = true
mod_full_brace_do = force
mod_remove_extra_semicolon = true
mod_case_brace = remove
mod_remove_empty_return = true
cmt_convert_tab_to_spaces = true
cmt_star_cont = true