You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

375 lines
18KB

  1. # Uncrustify 0.55
  2. set FOR STAILQ_FOREACH
  3. newlines = lf
  4. input_tab_size = 8
  5. output_tab_size = 8
  6. string_escape_char = 92
  7. string_escape_char2 = 0
  8. indent_columns = 8
  9. indent_continue = 4
  10. indent_with_tabs = 2
  11. indent_align_string = false
  12. indent_xml_string = 0
  13. indent_brace = 0
  14. indent_braces = false
  15. indent_braces_no_func = false
  16. indent_brace_parent = false
  17. indent_namespace = false
  18. indent_namespace_level = 0
  19. indent_namespace_limit = 0
  20. indent_extern = false
  21. indent_class = true
  22. indent_class_colon = true
  23. indent_else_if = false
  24. indent_var_def_blk = 0
  25. indent_func_call_param = false
  26. indent_func_def_param = false
  27. indent_func_proto_param = false
  28. indent_func_class_param = false
  29. indent_func_ctor_var_param = false
  30. indent_template_param = false
  31. indent_func_param_double = false
  32. indent_func_const = 0
  33. indent_func_throw = 0
  34. indent_member = 0
  35. indent_sing_line_comments = 0
  36. indent_relative_single_line_comments = false
  37. indent_switch_case = 0
  38. indent_case_shift = 0
  39. indent_case_brace = 0
  40. indent_col1_comment = false
  41. indent_label = 1
  42. indent_access_spec = 1
  43. indent_access_spec_body = false
  44. indent_paren_nl = false
  45. indent_paren_close = 0
  46. indent_comma_paren = false
  47. indent_bool_paren = false
  48. indent_square_nl = false
  49. indent_preserve_sql = false
  50. indent_align_assign = true
  51. sp_arith = ignore
  52. sp_assign = force
  53. sp_before_assign = ignore
  54. sp_after_assign = ignore
  55. sp_enum_assign = ignore
  56. sp_enum_before_assign = ignore
  57. sp_enum_after_assign = ignore
  58. sp_pp_concat = add
  59. sp_pp_stringify = add
  60. sp_bool = force
  61. sp_compare = force
  62. sp_inside_paren = remove
  63. sp_paren_paren = remove
  64. sp_balance_nested_parens = false
  65. sp_paren_brace = ignore
  66. sp_before_ptr_star = force
  67. sp_before_unnamed_ptr_star = ignore
  68. sp_between_ptr_star = remove
  69. sp_after_ptr_star = remove
  70. sp_after_ptr_star_func = ignore
  71. sp_before_ptr_star_func = ignore
  72. sp_before_byref = remove
  73. sp_before_unnamed_byref = ignore
  74. sp_after_byref = force
  75. sp_after_byref_func = ignore
  76. sp_before_byref_func = ignore
  77. sp_after_type = force
  78. sp_template_angle = ignore
  79. sp_before_angle = remove
  80. sp_inside_angle = remove
  81. sp_after_angle = force
  82. sp_angle_paren = ignore
  83. sp_angle_word = ignore
  84. sp_before_sparen = force
  85. sp_inside_sparen = remove
  86. sp_inside_sparen_close = ignore
  87. sp_after_sparen = force
  88. sp_sparen_brace = add
  89. sp_invariant_paren = ignore
  90. sp_after_invariant_paren = ignore
  91. sp_special_semi = ignore
  92. sp_before_semi = remove
  93. sp_before_semi_for = ignore
  94. sp_before_semi_for_empty = remove
  95. sp_after_semi = add
  96. sp_after_semi_for = force
  97. sp_after_semi_for_empty = remove
  98. sp_before_square = ignore
  99. sp_before_squares = ignore
  100. sp_inside_square = remove
  101. sp_after_comma = force
  102. sp_before_comma = remove
  103. sp_before_ellipsis = ignore
  104. sp_after_class_colon = ignore
  105. sp_before_class_colon = ignore
  106. sp_before_case_colon = remove
  107. sp_after_operator = ignore
  108. sp_after_operator_sym = ignore
  109. sp_after_cast = remove
  110. sp_inside_paren_cast = ignore
  111. sp_cpp_cast_paren = ignore
  112. sp_sizeof_paren = remove
  113. sp_after_tag = ignore
  114. sp_inside_braces_enum = force
  115. sp_inside_braces_struct = force
  116. sp_inside_braces = force
  117. sp_inside_braces_empty = ignore
  118. sp_type_func = force
  119. sp_func_proto_paren = remove
  120. sp_func_def_paren = remove
  121. sp_inside_fparens = ignore
  122. sp_inside_fparen = remove
  123. sp_square_fparen = ignore
  124. sp_fparen_brace = add
  125. sp_func_call_paren = remove
  126. sp_func_call_user_paren = ignore
  127. sp_func_class_paren = remove
  128. sp_return_paren = force
  129. sp_attribute_paren = ignore
  130. sp_defined_paren = ignore
  131. sp_throw_paren = ignore
  132. sp_macro = ignore
  133. sp_macro_func = ignore
  134. sp_else_brace = add
  135. sp_brace_else = add
  136. sp_brace_typedef = force
  137. sp_catch_brace = ignore
  138. sp_brace_catch = ignore
  139. sp_finally_brace = ignore
  140. sp_brace_finally = ignore
  141. sp_try_brace = ignore
  142. sp_getset_brace = ignore
  143. sp_before_dc = remove
  144. sp_after_dc = remove
  145. sp_d_array_colon = ignore
  146. sp_not = remove
  147. sp_inv = remove
  148. sp_addr = remove
  149. sp_member = remove
  150. sp_deref = remove
  151. sp_sign = remove
  152. sp_incdec = remove
  153. sp_before_nl_cont = add
  154. sp_after_oc_scope = ignore
  155. sp_after_oc_colon = ignore
  156. sp_before_oc_colon = ignore
  157. sp_after_send_oc_colon = ignore
  158. sp_before_send_oc_colon = ignore
  159. sp_after_oc_type = ignore
  160. sp_after_oc_return_type = ignore
  161. sp_after_oc_at_sel = ignore
  162. sp_before_oc_block_caret = ignore
  163. sp_after_oc_block_caret = ignore
  164. sp_cond_colon = ignore
  165. sp_cond_question = ignore
  166. sp_case_label = remove
  167. sp_range = ignore
  168. sp_cmt_cpp_start = ignore
  169. sp_endif_cmt = ignore
  170. align_keep_tabs = false
  171. align_with_tabs = true
  172. align_on_tabstop = true
  173. align_number_left = true
  174. align_func_params = false
  175. align_same_func_call_params = false
  176. align_var_def_span = 0
  177. align_var_def_star_style = 0
  178. align_var_def_amp_style = 0
  179. align_var_def_thresh = 0
  180. align_var_def_gap = 0
  181. align_var_def_colon = false
  182. align_var_def_attribute = false
  183. align_var_def_inline = false
  184. align_assign_span = 0
  185. align_assign_thresh = 12
  186. align_enum_equ_span = 16
  187. align_enum_equ_thresh = 0
  188. align_var_struct_span = 0
  189. align_var_struct_thresh = 0
  190. align_var_struct_gap = 0
  191. align_struct_init_span = 3
  192. align_typedef_gap = 3
  193. align_typedef_span = 5
  194. align_typedef_func = 0
  195. align_typedef_star_style = 0
  196. align_typedef_amp_style = 0
  197. align_right_cmt_span = 3
  198. align_right_cmt_mix = false
  199. align_right_cmt_gap = 0
  200. align_right_cmt_at_col = 0
  201. align_func_proto_span = 0
  202. align_func_proto_gap = 0
  203. align_on_operator = false
  204. align_mix_var_proto = false
  205. align_single_line_func = false
  206. align_single_line_brace = false
  207. align_single_line_brace_gap = 0
  208. align_oc_msg_spec_span = 0
  209. align_nl_cont = true
  210. align_pp_define_gap = 4
  211. align_pp_define_span = 3
  212. align_left_shift = true
  213. align_oc_msg_colon_span = 0
  214. nl_collapse_empty_body = false
  215. nl_assign_leave_one_liners = true
  216. nl_class_leave_one_liners = true
  217. nl_enum_leave_one_liners = false
  218. nl_getset_leave_one_liners = false
  219. nl_func_leave_one_liners = false
  220. nl_if_leave_one_liners = false
  221. nl_start_of_file = remove
  222. nl_start_of_file_min = 0
  223. nl_end_of_file = force
  224. nl_end_of_file_min = 1
  225. nl_assign_brace = add
  226. nl_assign_square = ignore
  227. nl_after_square_assign = ignore
  228. nl_func_var_def_blk = 1
  229. nl_fcall_brace = add
  230. nl_enum_brace = remove
  231. nl_struct_brace = remove
  232. nl_union_brace = remove
  233. nl_if_brace = remove
  234. nl_brace_else = remove
  235. nl_elseif_brace = ignore
  236. nl_else_brace = remove
  237. nl_else_if = remove
  238. nl_brace_finally = ignore
  239. nl_finally_brace = ignore
  240. nl_try_brace = ignore
  241. nl_getset_brace = force
  242. nl_for_brace = remove
  243. nl_catch_brace = ignore
  244. nl_brace_catch = ignore
  245. nl_while_brace = remove
  246. nl_brace_brace = ignore
  247. nl_do_brace = remove
  248. nl_brace_while = remove
  249. nl_switch_brace = remove
  250. nl_multi_line_cond = false
  251. nl_multi_line_define = true
  252. nl_before_case = false
  253. nl_before_throw = ignore
  254. nl_after_case = false
  255. nl_namespace_brace = ignore
  256. nl_template_class = ignore
  257. nl_class_brace = ignore
  258. nl_class_init_args = ignore
  259. nl_func_type_name = ignore
  260. nl_func_type_name_class = ignore
  261. nl_func_scope_name = ignore
  262. nl_func_proto_type_name = ignore
  263. nl_func_paren = remove
  264. nl_func_decl_start = ignore
  265. nl_func_decl_start_single = ignore
  266. nl_func_decl_args = ignore
  267. nl_func_decl_end = ignore
  268. nl_func_decl_end_single = ignore
  269. nl_func_decl_empty = ignore
  270. nl_fdef_brace = add
  271. nl_after_return = true
  272. nl_return_expr = ignore
  273. nl_after_semicolon = true
  274. nl_after_brace_open = true
  275. nl_after_brace_open_cmt = false
  276. nl_after_vbrace_open = false
  277. nl_after_vbrace_open_empty = false
  278. nl_after_brace_close = true
  279. nl_define_macro = false
  280. nl_squeeze_ifdef = true
  281. nl_before_if = ignore
  282. nl_after_if = ignore
  283. nl_before_for = ignore
  284. nl_after_for = ignore
  285. nl_before_while = ignore
  286. nl_after_while = ignore
  287. nl_before_switch = ignore
  288. nl_after_switch = ignore
  289. nl_before_do = ignore
  290. nl_after_do = ignore
  291. nl_ds_struct_enum_cmt = false
  292. nl_ds_struct_enum_close_brace = false
  293. nl_class_colon = ignore
  294. nl_create_if_one_liner = false
  295. nl_create_for_one_liner = false
  296. nl_create_while_one_liner = false
  297. pos_arith = ignore
  298. pos_assign = ignore
  299. pos_bool = trail
  300. pos_compare = ignore
  301. pos_conditional = ignore
  302. pos_comma = ignore
  303. pos_class_comma = ignore
  304. pos_class_colon = ignore
  305. code_width = 80
  306. ls_for_split_full = false
  307. ls_func_split_full = false
  308. nl_max = 4
  309. nl_after_func_proto = 0
  310. nl_after_func_proto_group = 2
  311. nl_after_func_body = 3
  312. nl_after_func_body_one_liner = 0
  313. nl_before_block_comment = 2
  314. nl_before_c_comment = 0
  315. nl_before_cpp_comment = 0
  316. nl_after_multiline_comment = false
  317. nl_before_access_spec = 0
  318. nl_after_access_spec = 0
  319. nl_comment_func_def = 1
  320. nl_after_try_catch_finally = 0
  321. nl_around_cs_property = 0
  322. nl_between_get_set = 0
  323. eat_blanks_after_open_brace = true
  324. eat_blanks_before_close_brace = true
  325. mod_full_brace_do = remove
  326. mod_full_brace_for = add
  327. mod_full_brace_function = ignore
  328. mod_full_brace_if = add
  329. mod_full_brace_if_chain = false
  330. mod_full_brace_nl = 0
  331. mod_full_brace_while = add
  332. mod_paren_on_return = add
  333. mod_pawn_semicolon = false
  334. mod_full_paren_if_bool = true
  335. mod_remove_extra_semicolon = true
  336. mod_add_long_function_closebrace_comment = 0
  337. mod_add_long_switch_closebrace_comment = 0
  338. mod_add_long_ifdef_endif_comment = 0
  339. mod_add_long_ifdef_else_comment = 0
  340. mod_sort_import = false
  341. mod_sort_using = false
  342. mod_sort_include = false
  343. mod_move_case_break = false
  344. mod_case_brace = remove
  345. mod_remove_empty_return = true
  346. cmt_width = 0
  347. cmt_reflow_mode = 0
  348. cmt_indent_multi = true
  349. cmt_c_group = false
  350. cmt_c_nl_start = false
  351. cmt_c_nl_end = false
  352. cmt_cpp_group = false
  353. cmt_cpp_nl_start = false
  354. cmt_cpp_nl_end = false
  355. cmt_cpp_to_c = false
  356. cmt_star_cont = true
  357. cmt_sp_before_star_cont = 0
  358. cmt_sp_after_star_cont = 0
  359. cmt_multi_check_last = true
  360. cmt_insert_file_header = ""
  361. cmt_insert_file_footer = ""
  362. cmt_insert_func_header = ""
  363. cmt_insert_class_header = ""
  364. cmt_insert_before_preproc = false
  365. pp_indent = remove
  366. pp_indent_at_level = false
  367. pp_indent_count = 1
  368. pp_space = ignore
  369. pp_space_count = 0
  370. pp_indent_region = 0
  371. pp_region_indent_code = false
  372. pp_indent_if = 0
  373. pp_if_indent_code = false
  374. pp_define_at_level = false