Skip to content

Commit

Permalink
Added code style tool
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed Oct 28, 2013
1 parent 483f629 commit 942a02c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tools/fix_code_style.sh
@@ -0,0 +1,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 \
$*

0 comments on commit 942a02c

Please sign in to comment.