Update CODING-GUIDELINES
This commit is contained in:
parent
1a46943a76
commit
1eebd1196e
|
@ -113,5 +113,8 @@ C89-compliant.
|
||||||
|
|
||||||
Miscellaneous
|
Miscellaneous
|
||||||
-------------
|
-------------
|
||||||
|
- Brace usage follows "Allman style". The brace associated with a control statement is placed on the following line,
|
||||||
|
indented to the same level as the control statement.
|
||||||
|
Statements within the braces are indented to the next level.
|
||||||
- A single statement block must not include brackets (unless the block uses a macro that expends into multiple lines)
|
- A single statement block must not include brackets (unless the block uses a macro that expends into multiple lines)
|
||||||
- If possible, avoid 'while (true)' and use 'for (;;)' instead
|
- If possible, avoid 'while (true)' and use 'for (;;)' instead
|
||||||
|
|
Loading…
Reference in New Issue