Change uncrustify to add newline before constructor initializer list.

Also add exclusion of "build" directory to maxscale-uncrustify.sh script.
This commit is contained in:
Niclas Antti 2018-11-01 13:43:34 +02:00
parent 84d45447fc
commit e52741679e
2 changed files with 2 additions and 2 deletions

View File

@ -2,5 +2,5 @@
currdir=$(dirname $(realpath $0))
$currdir/list-src -x 'sqlite-src-3110100 pcre2' $currdir/..|xargs uncrustify -c $currdir/../uncrustify.cfg --no-backup --mtime
$currdir/list-src -x 'sqlite-src-3110100 pcre2 build' $currdir/.. | xargs uncrustify -c $currdir/../uncrustify.cfg --no-backup --mtime

View File

@ -1274,7 +1274,7 @@ nl_class_colon = ignore # ignore/add/remove/force
# Add or remove a newline around a class constructor colon.
# Related to nl_constr_init_args, pos_constr_colon and pos_constr_comma.
nl_constr_colon = ignore # ignore/add/remove/force
nl_constr_colon = add # ignore/add/remove/force
# If true turns two liner namespace to one liner,else will make then four liners
#0.67 nl_namespace_two_to_one_liner = false # false/true