12 # Leave most comments alone for now
13 cmt_indent_multi=false
18 sp_func_call_user_paren_paren=remove
19 sp_inside_fparen=remove
22 ls_for_split_full=true
23 ls_func_split_full=true
26 # Arithmetic operations in wrapped expressions should be at the start
30 # Fully parenthesize boolean exprs
31 mod_full_paren_if_bool=true
33 # Braces should be on their own line
44 # no newline between "else" and "if"
48 nl_assign_brace=remove
50 # No extra newlines that cause noisy diffs
51 nl_start_of_file=remove
52 nl_after_func_proto = 2
53 nl_after_func_body = 3
54 # If there's no new line, it's not a text file!
56 nl_max_blank_in_func = 3
59 sp_inside_paren = remove
62 sp_arith_additive = add
64 # We want spaces before and after "="
65 sp_before_assign = add
68 # we want "char *foo;"
69 sp_after_ptr_star = remove
70 sp_between_ptr_star = remove
72 # we want "if (foo) { ... }"
73 sp_before_sparen = add
75 sp_inside_fparen = remove
76 sp_inside_sparen = remove
78 # add space before function call and decl: "foo (x)"
79 sp_func_call_paren = add
80 sp_func_proto_paren = add
81 sp_func_proto_paren_empty = add
82 sp_func_def_paren = add
83 sp_func_def_paren_empty = add
85 # We'd want it for "if ( (foo) || (bar) )", but not for "if (m())",
86 # so as uncrustify doesn't give exactly what we want => ignore
87 sp_paren_paren = ignore
88 sp_inside_paren = remove
91 nl_func_type_name = force