Blame uncrustify.cfg

rpm-build 923cf1
newlines                lf
rpm-build 923cf1
rpm-build 923cf1
input_tab_size          8
rpm-build 923cf1
output_tab_size         8
rpm-build 923cf1
rpm-build 923cf1
string_escape_char      92
rpm-build 923cf1
string_escape_char2     0
rpm-build 923cf1
rpm-build 923cf1
# indenting
rpm-build 923cf1
indent_columns          2
rpm-build 923cf1
indent_with_tabs        0
rpm-build 923cf1
indent_align_string     True
rpm-build 923cf1
indent_brace            2
rpm-build 923cf1
indent_braces           false
rpm-build 923cf1
indent_braces_no_func   True
rpm-build 923cf1
indent_func_call_param  false
rpm-build 923cf1
indent_func_def_param   false
rpm-build 923cf1
indent_func_proto_param false
rpm-build 923cf1
indent_switch_case      0
rpm-build 923cf1
indent_case_brace       2
rpm-build 923cf1
indent_paren_close      1
rpm-build 923cf1
rpm-build 923cf1
# spacing
rpm-build 923cf1
sp_arith                        Add
rpm-build 923cf1
sp_assign                       Add
rpm-build 923cf1
sp_enum_assign                  Add
rpm-build 923cf1
sp_bool                         Add
rpm-build 923cf1
sp_compare                      Add
rpm-build 923cf1
sp_inside_paren                 Remove
rpm-build 923cf1
sp_inside_fparens               Remove
rpm-build 923cf1
sp_func_def_paren               Force
rpm-build 923cf1
sp_func_proto_paren             Force
rpm-build 923cf1
sp_paren_paren                  Remove
rpm-build 923cf1
sp_balance_nested_parens        False
rpm-build 923cf1
sp_paren_brace                  Remove
rpm-build 923cf1
sp_before_square                Remove
rpm-build 923cf1
sp_before_squares               Remove
rpm-build 923cf1
sp_inside_square                Remove
rpm-build 923cf1
sp_before_ptr_star              Add
rpm-build 923cf1
sp_between_ptr_star             Remove
rpm-build 923cf1
sp_after_comma                  Add
rpm-build 923cf1
sp_before_comma                 Remove
rpm-build 923cf1
sp_after_cast                   Add
rpm-build 923cf1
sp_sizeof_paren                 Add
rpm-build 923cf1
sp_not                          Remove
rpm-build 923cf1
sp_inv                          Remove
rpm-build 923cf1
sp_addr                         Remove
rpm-build 923cf1
sp_member                       Remove
rpm-build 923cf1
sp_deref                        Remove
rpm-build 923cf1
sp_sign                         Remove
rpm-build 923cf1
sp_incdec                       Remove
rpm-build 923cf1
sp_attribute_paren              remove
rpm-build 923cf1
sp_macro                        Force
rpm-build 923cf1
sp_func_call_paren              Force
rpm-build 923cf1
sp_func_call_user_paren         Remove
rpm-build 923cf1
set func_call_user _ N_ C_ g_autoptr g_auto
rpm-build 923cf1
sp_brace_typedef                add
rpm-build 923cf1
sp_cond_colon                   add
rpm-build 923cf1
sp_cond_question                add
rpm-build 923cf1
sp_defined_paren                remove
rpm-build 923cf1
rpm-build 923cf1
# alignment
rpm-build 923cf1
align_keep_tabs                 False
rpm-build 923cf1
align_with_tabs                 False
rpm-build 923cf1
align_on_tabstop                False
rpm-build 923cf1
align_number_left               True
rpm-build 923cf1
align_func_params               True
rpm-build 923cf1
align_var_def_span              0
rpm-build 923cf1
align_var_def_amp_style         1
rpm-build 923cf1
align_var_def_colon             true
rpm-build 923cf1
align_enum_equ_span             0
rpm-build 923cf1
align_var_struct_span           2
rpm-build 923cf1
align_var_def_star_style        2
rpm-build 923cf1
align_var_def_amp_style         2
rpm-build 923cf1
align_typedef_span              2
rpm-build 923cf1
align_typedef_func              0
rpm-build 923cf1
align_typedef_star_style        2
rpm-build 923cf1
align_typedef_amp_style         2
rpm-build 923cf1
rpm-build 923cf1
# newlines
rpm-build 923cf1
nl_assign_leave_one_liners      True
rpm-build 923cf1
nl_enum_leave_one_liners        False
rpm-build 923cf1
nl_func_leave_one_liners        False
rpm-build 923cf1
nl_if_leave_one_liners          False
rpm-build 923cf1
nl_end_of_file                  Add
rpm-build 923cf1
nl_assign_brace                 Remove
rpm-build 923cf1
nl_func_var_def_blk             1
rpm-build 923cf1
nl_fcall_brace                  Add
rpm-build 923cf1
nl_enum_brace                   Remove
rpm-build 923cf1
nl_struct_brace                 Force
rpm-build 923cf1
nl_union_brace                  Force
rpm-build 923cf1
nl_if_brace                     Force
rpm-build 923cf1
nl_brace_else                   Force
rpm-build 923cf1
nl_elseif_brace                 Force
rpm-build 923cf1
nl_else_brace                   Add
rpm-build 923cf1
nl_for_brace                    Force
rpm-build 923cf1
nl_while_brace                  Force
rpm-build 923cf1
nl_do_brace                     Force
rpm-build 923cf1
nl_brace_while                  Force
rpm-build 923cf1
nl_switch_brace                 Force
rpm-build 923cf1
nl_before_case                  True
rpm-build 923cf1
nl_after_case                   False
rpm-build 923cf1
nl_func_type_name               Force
rpm-build 923cf1
nl_func_proto_type_name         Remove
rpm-build 923cf1
nl_func_paren                   Remove
rpm-build 923cf1
nl_func_decl_start              Remove
rpm-build 923cf1
nl_func_decl_args               Force
rpm-build 923cf1
nl_func_decl_end                Remove
rpm-build 923cf1
nl_fdef_brace                   Force
rpm-build 923cf1
nl_after_return                 False
rpm-build 923cf1
nl_define_macro                 False
rpm-build 923cf1
nl_create_if_one_liner          False
rpm-build 923cf1
nl_create_for_one_liner         False
rpm-build 923cf1
nl_create_while_one_liner       False
rpm-build 923cf1
nl_after_semicolon              True
rpm-build 923cf1
nl_multi_line_cond              true
rpm-build 923cf1
rpm-build 923cf1
# mod
rpm-build 923cf1
# I'd like these to be remove, but that removes brackets in if { if { foo } }, which i dislike
rpm-build 923cf1
# Not clear what to do about that...
rpm-build 923cf1
mod_full_brace_for              Remove
rpm-build 923cf1
mod_full_brace_if               Remove
rpm-build 923cf1
mod_full_brace_if_chain         True
rpm-build 923cf1
mod_full_brace_while            Remove
rpm-build 923cf1
mod_full_brace_do               Remove
rpm-build 923cf1
mod_full_brace_nl               3
rpm-build 923cf1
mod_paren_on_return             Remove
rpm-build 923cf1
rpm-build 923cf1
# line splitting
rpm-build 923cf1
#code_width                     = 78
rpm-build 923cf1
ls_for_split_full               True
rpm-build 923cf1
ls_func_split_full              True
rpm-build 923cf1
rpm-build 923cf1
# positioning
rpm-build 923cf1
pos_bool                        Trail
rpm-build 923cf1
pos_conditional                 Trail