apply some coding style with astyle
This commit is contained in:
parent
5fc3e848ce
commit
5b885c1e62
15
.astylerc
Normal file
15
.astylerc
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
--mode=c
|
||||||
|
|
||||||
|
--style=bsd # brackets on their own line
|
||||||
|
|
||||||
|
--indent=tab # tabs for indentation, spaces for alignment
|
||||||
|
|
||||||
|
--min-conditional-indent=0 # align continuation lines to the opening bracket
|
||||||
|
|
||||||
|
--max-instatement-indent=80 # allow to use a lot of spaces for alignment
|
||||||
|
|
||||||
|
--pad-oper # operators + have - spaces
|
||||||
|
|
||||||
|
--pad-first-paren-out # space before (
|
||||||
|
|
||||||
|
--align-pointer=name # char *name
|
Loading…
Reference in New Issue
Block a user