2012-08-04 19:12:36 -03:00
|
|
|
#!/bin/sh
|
|
|
|
astyle \
|
|
|
|
--style=linux \
|
|
|
|
--indent=force-tab=8 \
|
|
|
|
--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 \
|
2014-05-12 06:12:13 -03:00
|
|
|
--add-brackets \
|
|
|
|
--max-code-length=120 \
|
2015-01-06 00:16:30 -04:00
|
|
|
--preserve-date \
|
2012-08-04 19:12:36 -03:00
|
|
|
$*
|