Browse Source

Style: Consider STAILQ_FOREACH as for, add braces around single lined if/for/while

tags/1.4.0
Baptiste Daroussin 6 years ago
parent
commit
1bc61a46a6
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      freebsd.cfg

+ 5
- 4
freebsd.cfg View File

@@ -1,4 +1,5 @@
# Uncrustify 0.55
set FOR STAILQ_FOREACH
newlines = lf
input_tab_size = 8
output_tab_size = 8
@@ -130,7 +131,7 @@ sp_defined_paren = ignore
sp_throw_paren = ignore
sp_macro = ignore
sp_macro_func = ignore
sp_else_brace = ignore
sp_else_brace = add
sp_brace_else = add
sp_brace_typedef = force
sp_catch_brace = ignore
@@ -322,12 +323,12 @@ nl_between_get_set = 0
eat_blanks_after_open_brace = true
eat_blanks_before_close_brace = true
mod_full_brace_do = remove
mod_full_brace_for = remove
mod_full_brace_for = add
mod_full_brace_function = ignore
mod_full_brace_if = remove
mod_full_brace_if = add
mod_full_brace_if_chain = false
mod_full_brace_nl = 0
mod_full_brace_while = remove
mod_full_brace_while = add
mod_paren_on_return = add
mod_pawn_semicolon = false
mod_full_paren_if_bool = true


Loading…
Cancel
Save