23 lines
657 B
Plaintext
23 lines
657 B
Plaintext
include::../description.adoc[]
|
|
|
|
include::../noncompliant.adoc[]
|
|
|
|
include::../compliant.adoc[]
|
|
|
|
== Exceptions
|
|
|
|
When the body of an ``++if++`` statement is a single ``++return++``, ``++break++`` or ``++continue++`` and is on the same line.
|
|
|
|
== See
|
|
|
|
* https://wiki.sei.cmu.edu/confluence/x/g9YxBQ[CERT, EXP19-C.] - Use braces for the body of an if, for, or while statement
|
|
* https://wiki.sei.cmu.edu/confluence/x/MzZGBQ[CERT, EXP52-J.] - Use braces for the body of an if, for, or while statement
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|