Entrega 3er corte - sistemas embebidos

mbed-os/.astylerc

Committer:
Bethory
Date:
2018-05-30
Revision:
1:fcdb45ee95b9
Parent:
0:6ad07c9019fd

File content as of revision 1:fcdb45ee95b9:

# Mbed OS code style definition file for astyle

# Don't create backup files, let git handle it
suffix=none

# K&R style
style=kr

# 1 TBS addition to k&r, add braces to one liners
# Use -j as it was changed in astyle from brackets to braces, this way it is compatible with older astyle versions
-j

# 4 spaces, convert tabs to spaces
indent=spaces=4
convert-tabs

# Indent switches and cases
indent-switches
indent-cases

# Remove spaces in and around parentheses
unpad-paren

# Insert a space after if, while, for, and around operators
pad-header
pad-oper

# Pointer/reference operators go next to the name (on the right)
align-pointer=name
align-reference=name

# Attach { for classes and namespaces
attach-namespaces
attach-classes