Update CODING-GUIDELINES

pull/14472/head
LibretroAdmin 2022-10-04 17:53:52 +02:00 committed by GitHub
parent 1eebd1196e
commit e9ad1e494f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,5 +116,5 @@ 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 expands into multiple lines)
- If possible, avoid 'while (true)' and use 'for (;;)' instead