From 1eebd1196ee1cadc7aed44d1c9115bf4ef22ce2d Mon Sep 17 00:00:00 2001 From: LibretroAdmin <105389611+LibretroAdmin@users.noreply.github.com> Date: Tue, 4 Oct 2022 17:26:23 +0200 Subject: [PATCH] Update CODING-GUIDELINES --- CODING-GUIDELINES | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CODING-GUIDELINES b/CODING-GUIDELINES index ec88d69f59..e367f5919f 100644 --- a/CODING-GUIDELINES +++ b/CODING-GUIDELINES @@ -113,5 +113,8 @@ C89-compliant. 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) - If possible, avoid 'while (true)' and use 'for (;;)' instead