Add config for astyle.
This commit is contained in:
parent
6bcfad3b80
commit
034f64fdfb
1 changed files with 29 additions and 0 deletions
29
tools/astylerc
Normal file
29
tools/astylerc
Normal file
|
@ -0,0 +1,29 @@
|
|||
# config file for AStyle ( http://astyle.sourceforge.net/ )
|
||||
# AStyle version : 2.02
|
||||
|
||||
# style
|
||||
--style=otbs
|
||||
--indent=force-tab=4
|
||||
--lineend=linux
|
||||
--min-conditional-indent=0
|
||||
--keep-one-line-statements
|
||||
--keep-one-line-blocks
|
||||
--indent-preprocessor
|
||||
--indent-col1-comments
|
||||
--indent-switches
|
||||
--pad-oper
|
||||
--pad-header
|
||||
--unpad-paren
|
||||
--add-brackets
|
||||
--align-pointer=name
|
||||
--align-reference=name
|
||||
--mode=c
|
||||
|
||||
|
||||
# extra options
|
||||
|
||||
--exclude=guichan
|
||||
--ignore-exclude-errors-x
|
||||
|
||||
--preserve-date
|
||||
--suffix=none
|
Loading…
Reference in a new issue