fix_code_style.sh 425 Bytes
Newer Older
Lorenz Meier's avatar
Lorenz Meier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#!/bin/sh
astyle \
    --style=allman		\
    --indent=spaces=4	\
    --indent-cases		\
    --indent-preprocessor	\
    --break-blocks=all		\
    --pad-oper			\
    --pad-header		\
    --unpad-paren		\
    --keep-one-line-blocks	\
    --keep-one-line-statements	\
    --align-pointer=name	\
    --align-reference=name	\
    --suffix=none		\
    --ignore-exclude-errors-x	\
    --lineend=linux		\
    --exclude=EASTL		\
    $*