summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/config/cpp/nl_func_decl_2.cfg
blob: c0495a4b28c870f8c72ab1e64a20440d50635725 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
nl_func_paren                   = force
nl_func_def_paren               = remove
nl_func_decl_start              = force
nl_func_def_start               = remove
nl_func_decl_args               = force
nl_func_def_args                = remove
nl_func_decl_end                = force
nl_func_def_end                 = remove
nl_func_decl_empty              = force
nl_func_def_empty               = remove
nl_inside_empty_func            = 5
nl_max_blank_in_func            = 3 # this option limits nl_inside_empty_func to 3

# a few more options to make the output pretty
sp_after_comma                  = force
sp_inside_fparen                = force
align_func_params               = true

# test nl_inside_empty_func option with code width constraints and
# 'eat_blanks_before_close_brace' and 'eat_blanks_after_open_brace' set to true
eat_blanks_after_open_brace     = true
eat_blanks_before_close_brace   = true
code_width                      = 25