2 # Uncrustify handles QC function types (example:
4 # ) wrong and removes the space between type and variable. Fix this by
5 # a simple sed on ")letter" which should normally not occur.
6 sed -e 's/)\([A-Za-z0-9]\)/) \1/g' "$@"
9 if [ -z "$UNCRUSTIFY_CONFIG" ]; then
10 UNCRUSTIFY_CONFIG=`git rev-parse --show-toplevel`/qcsrc/uncrustify.cfg
15 uncrustify --frag -c "$UNCRUSTIFY_CONFIG" |\
19 uncrustify --replace --no-backup -c "$UNCRUSTIFY_CONFIG" "$@" &&\
20 fix_function_types -i "$@"