Daniel Vizcaya
/
04_RTOS_Embebidos
Entrega 3er corte - sistemas embebidos
mbed-os/.astylerc@0:6ad07c9019fd, 2018-05-30 (annotated)
- Committer:
- Bethory
- Date:
- Wed May 30 00:01:50 2018 +0000
- Revision:
- 0:6ad07c9019fd
Codigo de tales para todos los pasculaes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Bethory | 0:6ad07c9019fd | 1 | # Mbed OS code style definition file for astyle |
Bethory | 0:6ad07c9019fd | 2 | |
Bethory | 0:6ad07c9019fd | 3 | # Don't create backup files, let git handle it |
Bethory | 0:6ad07c9019fd | 4 | suffix=none |
Bethory | 0:6ad07c9019fd | 5 | |
Bethory | 0:6ad07c9019fd | 6 | # K&R style |
Bethory | 0:6ad07c9019fd | 7 | style=kr |
Bethory | 0:6ad07c9019fd | 8 | |
Bethory | 0:6ad07c9019fd | 9 | # 1 TBS addition to k&r, add braces to one liners |
Bethory | 0:6ad07c9019fd | 10 | # Use -j as it was changed in astyle from brackets to braces, this way it is compatible with older astyle versions |
Bethory | 0:6ad07c9019fd | 11 | -j |
Bethory | 0:6ad07c9019fd | 12 | |
Bethory | 0:6ad07c9019fd | 13 | # 4 spaces, convert tabs to spaces |
Bethory | 0:6ad07c9019fd | 14 | indent=spaces=4 |
Bethory | 0:6ad07c9019fd | 15 | convert-tabs |
Bethory | 0:6ad07c9019fd | 16 | |
Bethory | 0:6ad07c9019fd | 17 | # Indent switches and cases |
Bethory | 0:6ad07c9019fd | 18 | indent-switches |
Bethory | 0:6ad07c9019fd | 19 | indent-cases |
Bethory | 0:6ad07c9019fd | 20 | |
Bethory | 0:6ad07c9019fd | 21 | # Remove spaces in and around parentheses |
Bethory | 0:6ad07c9019fd | 22 | unpad-paren |
Bethory | 0:6ad07c9019fd | 23 | |
Bethory | 0:6ad07c9019fd | 24 | # Insert a space after if, while, for, and around operators |
Bethory | 0:6ad07c9019fd | 25 | pad-header |
Bethory | 0:6ad07c9019fd | 26 | pad-oper |
Bethory | 0:6ad07c9019fd | 27 | |
Bethory | 0:6ad07c9019fd | 28 | # Pointer/reference operators go next to the name (on the right) |
Bethory | 0:6ad07c9019fd | 29 | align-pointer=name |
Bethory | 0:6ad07c9019fd | 30 | align-reference=name |
Bethory | 0:6ad07c9019fd | 31 | |
Bethory | 0:6ad07c9019fd | 32 | # Attach { for classes and namespaces |
Bethory | 0:6ad07c9019fd | 33 | attach-namespaces |
Bethory | 0:6ad07c9019fd | 34 | attach-classes |