diff --git a/Documentation/NuttXCCodingStandard.html b/Documentation/NuttXCCodingStandard.html index a116f981e7..87caa57034 100644 --- a/Documentation/NuttXCCodingStandard.html +++ b/Documentation/NuttXCCodingStandard.html @@ -2169,8 +2169,8 @@ x++;
if <condition>
and else
lines must always be enclosed in braces.
- Braces must follow the if <condition>
and else
lines even in the case where these is no contained statement!
+ Statement(s) following the if <condition>
and else
keywords must always be enclosed in braces.
+ Braces must follow the if <condition>
and else
lines even in the cases where (a) there is no contained statement or (b) there is only a single statement!
if
compound statement.
+ The final right brace of the if
-else
must be followed by a blank line in most cases (the exception given below).
+ This may be the final brace of the if
compound statement if the else
keyword is not present.
Or it may be the the final brace of the else
compound statement if present.
- A blank line never follows the right brace closing the if
compound statement if else
is present.
+ A blank line never follows the right brace closing the if
compound statement if the else
keyword is present.
Use of braces must follow all other standard rules for braces and spacing.
if <condition>
-else
statement is nested within another compound statement; there should be no blank lines between consecutive right braces as discussed in the standard rules for use of braces.
+ Other Applicable Coding Standards.