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:
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
currdir=$(dirname $(realpath $0))
|
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
|
||||||
|
|
||||||
|
|||||||
@ -1274,7 +1274,7 @@ nl_class_colon = ignore # ignore/add/remove/force
|
|||||||
|
|
||||||
# Add or remove a newline around a class constructor colon.
|
# Add or remove a newline around a class constructor colon.
|
||||||
# Related to nl_constr_init_args, pos_constr_colon and pos_constr_comma.
|
# 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
|
# 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
|
#0.67 nl_namespace_two_to_one_liner = false # false/true
|
||||||
|
|||||||
Reference in New Issue
Block a user