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