qBittorrent/uncrustify.cfg

95 lines
2.2 KiB
INI
Raw Normal View History

set FOR foreach
set WORD slots
2017-04-07 03:04:47 +03:00
newlines = LF
indent_with_tabs = 0
indent_columns = 4
2017-04-07 03:04:47 +03:00
indent_namespace = true
indent_class = true
indent_col1_comment = true
indent_access_spec = -4
indent_switch_case = 0
2017-04-07 03:04:47 +03:00
indent_case_shift = 0
indent_case_brace = 4
2016-03-31 16:56:19 +03:00
nl_after_func_body = 2
nl_collapse_empty_body = false
nl_enum_brace = add
nl_union_brace = add
nl_struct_brace = add
nl_class_brace = add
2016-03-31 16:56:19 +03:00
nl_case_colon_brace = remove
nl_do_brace = remove
nl_if_brace = remove
nl_for_brace = remove
nl_else_brace = remove
nl_while_brace = remove
nl_switch_brace = remove
nl_brace_while = remove
nl_brace_else = remove
nl_try_brace = remove
nl_fcall_brace = remove
nl_fdef_brace = add
nl_after_return = false
nl_brace_else = add
nl_class_leave_one_liners = true
2016-03-18 16:53:15 +03:00
nl_before_access_spec = 2
2016-03-31 16:56:19 +03:00
nl_end_of_file = force
nl_end_of_file_min = 1
nl_namespace_brace = add
mod_full_brace_if = remove
2016-03-31 16:56:19 +03:00
mod_full_brace_if_chain = true
mod_full_brace_do = remove
2017-04-07 03:04:47 +03:00
mod_full_brace_while = remove
mod_full_brace_for = remove
2017-04-07 03:04:47 +03:00
mod_full_brace_if_chain = true
mod_full_brace_nl = 3
2017-04-07 03:04:47 +03:00
mod_full_paren_if_bool = true
mod_move_case_break = true
2017-04-07 03:04:47 +03:00
sp_cond_colon = force
sp_else_brace = force
sp_try_brace = force
sp_arith = force
sp_assign = force
sp_defined_paren = ignore
sp_pp_concat = ignore
sp_pp_stringify = ignore
sp_bool = force
sp_after_class_colon = force
2017-04-07 03:04:47 +03:00
sp_before_class_colon = force
sp_after_constr_colon = force
2016-03-18 16:53:15 +03:00
sp_cmt_cpp_start = add
sp_cmt_cpp_doxygen = true
2017-04-07 03:04:47 +03:00
sp_endif_cmt = force
2016-03-18 16:53:15 +03:00
sp_angle_shift = remove
sp_permit_cpp11_shift = true
sp_before_sparen = force
2016-05-18 19:06:06 +03:00
sp_after_operator = remove
sp_after_operator_sym = remove
2017-04-07 03:04:47 +03:00
sp_after_for_colon = force
sp_before_for_colon = force
sp_between_new_paren = force
sp_before_ptr_star = force
sp_before_byref = force
sp_after_ptr_star = remove
sp_after_byref = remove
sp_before_unnamed_ptr_star = force
sp_before_unnamed_byref = force
2016-05-18 19:06:06 +03:00
sp_after_ptr_star_func = remove
sp_after_byref_func = remove
sp_before_ptr_star_func = force
sp_before_byref_func = force
sp_after_comma = force
sp_compare = force
eat_blanks_before_close_brace = true
2016-05-18 19:06:06 +03:00
pos_arith = lead
pos_conditional = lead
pos_constr_comma = lead_break
pos_constr_colon = lead_break