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:
parent
84d45447fc
commit
e52741679e
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user