diff options
Diffstat (limited to 'uncrustify.cfg')
-rw-r--r-- | uncrustify.cfg | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/uncrustify.cfg b/uncrustify.cfg new file mode 100644 index 0000000..33c77ba --- /dev/null +++ b/uncrustify.cfg | |||
@@ -0,0 +1,209 @@ | |||
1 | indent_align_string=true | ||
2 | indent_braces=false | ||
3 | indent_braces_no_func=false | ||
4 | indent_brace_parent=false | ||
5 | indent_namespace=false | ||
6 | indent_extern=false | ||
7 | indent_class=true | ||
8 | indent_class_colon=false | ||
9 | indent_else_if=false | ||
10 | indent_func_call_param=true | ||
11 | indent_func_def_param=true | ||
12 | indent_func_proto_param=true | ||
13 | indent_func_class_param=true | ||
14 | indent_func_ctor_var_param=true | ||
15 | indent_template_param=true | ||
16 | indent_func_param_double=false | ||
17 | indent_relative_single_line_comments=false | ||
18 | indent_col1_comment=false | ||
19 | indent_access_spec_body=false | ||
20 | indent_paren_nl=false | ||
21 | indent_comma_paren=false | ||
22 | indent_bool_paren=false | ||
23 | indent_square_nl=false | ||
24 | indent_preserve_sql=false | ||
25 | indent_align_assign=false | ||
26 | sp_balance_nested_parens=false | ||
27 | align_keep_tabs=false | ||
28 | align_with_tabs=true | ||
29 | align_on_tabstop=false | ||
30 | align_number_left=true | ||
31 | align_func_params=true | ||
32 | align_same_func_call_params=true | ||
33 | align_var_def_colon=true | ||
34 | align_var_def_attribute=true | ||
35 | align_var_def_inline=true | ||
36 | align_right_cmt_mix=true | ||
37 | align_on_operator=false | ||
38 | align_mix_var_proto=false | ||
39 | align_single_line_func=false | ||
40 | align_single_line_brace=false | ||
41 | align_nl_cont=true | ||
42 | align_left_shift=false | ||
43 | nl_collapse_empty_body=false | ||
44 | nl_assign_leave_one_liners=true | ||
45 | nl_class_leave_one_liners=true | ||
46 | nl_enum_leave_one_liners=true | ||
47 | nl_getset_leave_one_liners=true | ||
48 | nl_func_leave_one_liners=true | ||
49 | nl_if_leave_one_liners=true | ||
50 | nl_multi_line_cond=true | ||
51 | nl_multi_line_define=true | ||
52 | nl_before_case=true | ||
53 | nl_after_case=false | ||
54 | nl_after_return=false | ||
55 | nl_after_semicolon=false | ||
56 | nl_after_brace_open=true | ||
57 | nl_after_brace_open_cmt=false | ||
58 | nl_after_vbrace_open=true | ||
59 | nl_after_brace_close=true | ||
60 | nl_define_macro=true | ||
61 | nl_squeeze_ifdef=true | ||
62 | nl_ds_struct_enum_cmt=false | ||
63 | nl_ds_struct_enum_close_brace=false | ||
64 | nl_create_if_one_liner=true | ||
65 | nl_create_for_one_liner=true | ||
66 | nl_create_while_one_liner=true | ||
67 | ls_for_split_full=true | ||
68 | ls_func_split_full=true | ||
69 | nl_after_multiline_comment=false | ||
70 | eat_blanks_after_open_brace=true | ||
71 | eat_blanks_before_close_brace=true | ||
72 | mod_pawn_semicolon=false | ||
73 | mod_full_paren_if_bool=true | ||
74 | mod_remove_extra_semicolon=true | ||
75 | mod_sort_import=false | ||
76 | mod_sort_using=false | ||
77 | mod_sort_include=false | ||
78 | mod_move_case_break=true | ||
79 | mod_remove_empty_return=true | ||
80 | cmt_indent_multi=true | ||
81 | cmt_c_group=false | ||
82 | cmt_c_nl_start=false | ||
83 | cmt_c_nl_end=false | ||
84 | cmt_cpp_group=false | ||
85 | cmt_cpp_nl_start=false | ||
86 | cmt_cpp_nl_end=false | ||
87 | cmt_cpp_to_c=false | ||
88 | cmt_star_cont=true | ||
89 | cmt_multi_check_last=true | ||
90 | cmt_insert_before_preproc=false | ||
91 | pp_indent_at_level=true | ||
92 | pp_region_indent_code=false | ||
93 | pp_if_indent_code=false | ||
94 | pp_define_at_level=false | ||
95 | output_tab_size=8 | ||
96 | indent_columns=2 | ||
97 | indent_switch_case=2 | ||
98 | indent_paren_close=1 | ||
99 | align_var_def_span=1 | ||
100 | align_var_def_star_style=1 | ||
101 | align_var_def_amp_style=1 | ||
102 | align_var_def_thresh=0 | ||
103 | align_var_def_gap=1 | ||
104 | align_assign_span=1 | ||
105 | align_assign_thresh=0 | ||
106 | align_enum_equ_span=2 | ||
107 | align_enum_equ_thresh=0 | ||
108 | align_var_struct_span=2 | ||
109 | align_var_struct_thresh=0 | ||
110 | align_var_struct_gap=0 | ||
111 | align_struct_init_span=0 | ||
112 | align_typedef_gap=1 | ||
113 | align_typedef_span=2 | ||
114 | align_typedef_func=2 | ||
115 | align_typedef_star_style=1 | ||
116 | align_typedef_amp_style=1 | ||
117 | align_right_cmt_span=2 | ||
118 | align_right_cmt_gap=0 | ||
119 | align_func_proto_span=1 | ||
120 | align_func_proto_gap=1 | ||
121 | align_pp_define_span=2 | ||
122 | nl_end_of_file_min=1 | ||
123 | nl_func_var_def_blk=1 | ||
124 | code_width=128 | ||
125 | nl_max=2 | ||
126 | nl_after_func_body=2 | ||
127 | nl_after_func_body_one_liner=1 | ||
128 | mod_full_brace_nl=1 | ||
129 | mod_add_long_switch_closebrace_comment=16 | ||
130 | mod_add_long_ifdef_endif_comment=16 | ||
131 | mod_add_long_ifdef_else_comment=16 | ||
132 | cmt_sp_after_star_cont=0 | ||
133 | pp_indent_count=2 | ||
134 | pp_indent_if=2 | ||
135 | indent_with_tabs=2 | ||
136 | sp_arith=force | ||
137 | sp_assign=force | ||
138 | sp_before_assign=force | ||
139 | sp_after_assign=force | ||
140 | sp_pp_concat=force | ||
141 | sp_pp_stringify=force | ||
142 | sp_bool=force | ||
143 | sp_compare=force | ||
144 | sp_inside_paren=remove | ||
145 | sp_paren_paren=remove | ||
146 | sp_before_ptr_star=force | ||
147 | sp_after_ptr_star=remove | ||
148 | sp_after_ptr_star_func=remove | ||
149 | sp_after_byref=ignore | ||
150 | sp_after_byref_func=ignore | ||
151 | sp_before_sparen=force | ||
152 | sp_inside_sparen=remove | ||
153 | sp_after_sparen=force | ||
154 | sp_after_comma=force | ||
155 | sp_before_comma=remove | ||
156 | sp_before_case_colon=force | ||
157 | sp_after_cast=remove | ||
158 | sp_sizeof_paren=remove | ||
159 | sp_type_func=force | ||
160 | sp_func_proto_paren=remove | ||
161 | sp_func_def_paren=remove | ||
162 | sp_inside_fparen=remove | ||
163 | sp_func_call_paren=remove | ||
164 | sp_addr=remove | ||
165 | sp_member=remove | ||
166 | sp_deref=remove | ||
167 | sp_sign=remove | ||
168 | sp_incdec=remove | ||
169 | sp_before_nl_cont=remove | ||
170 | sp_cond_colon=force | ||
171 | sp_cond_question=force | ||
172 | sp_case_label=force | ||
173 | sp_cmt_cpp_start=force | ||
174 | nl_start_of_file=remove | ||
175 | nl_end_of_file=force | ||
176 | nl_assign_brace=force | ||
177 | nl_enum_brace=force | ||
178 | nl_struct_brace=force | ||
179 | nl_union_brace=force | ||
180 | nl_if_brace=force | ||
181 | nl_brace_else=force | ||
182 | nl_elseif_brace=force | ||
183 | nl_else_brace=force | ||
184 | nl_else_if=remove | ||
185 | nl_brace_finally=force | ||
186 | nl_finally_brace=force | ||
187 | nl_try_brace=force | ||
188 | nl_getset_brace=force | ||
189 | nl_for_brace=force | ||
190 | nl_catch_brace=force | ||
191 | nl_brace_catch=force | ||
192 | nl_while_brace=force | ||
193 | nl_do_brace=force | ||
194 | nl_brace_while=remove | ||
195 | nl_switch_brace=force | ||
196 | nl_func_type_name=remove | ||
197 | nl_func_proto_type_name=remove | ||
198 | nl_func_paren=remove | ||
199 | nl_func_decl_start=remove | ||
200 | nl_func_decl_args=remove | ||
201 | nl_func_decl_end=remove | ||
202 | nl_fdef_brace=force | ||
203 | nl_return_expr=remove | ||
204 | mod_full_brace_for=remove | ||
205 | mod_full_brace_if=remove | ||
206 | mod_full_brace_while=remove | ||
207 | mod_paren_on_return=remove | ||
208 | pp_indent=force | ||
209 | pp_space=remove | ||