Moved header generation scripts to utils. Added astyle config.
This commit is contained in:
16
utils/style.astylerc
Normal file
16
utils/style.astylerc
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
# general style
|
||||
--style=1tbs
|
||||
--indent=spaces=4 # default
|
||||
--lineend=linux #only \r as line ending
|
||||
|
||||
# alignment
|
||||
--align-pointer=type #put asterisks to the type. eg. char* a
|
||||
--align-reference=type #put references to the type. eg. int& a
|
||||
|
||||
# padding
|
||||
--break-blocks # insert empty lines between header blocks
|
||||
--unpad-paren # remove extra padding around parens
|
||||
--pad-oper # spaces around operators
|
||||
--pad-header # insert space between header blocks and the following paren
|
||||
--add-brackets # add brackets to one line conditionals
|
||||
Reference in New Issue
Block a user