06-11-2023, 01:25 PM
No, braces are not required around the case clause, see switch syntax in 6-4-3
Posted by and on behalf of
the MISRA C++ Working Group
the MISRA C++ Working Group
Welcome to the new MISRA discussion forum, if you were previously a member of our forums you may need to reset your password.
Rule 6-3-1: Does it also apply to "case" blocks?
|
« Next Oldest | Next Newest »
|
Messages In This Thread |
Rule 6-3-1: Does it also apply to "case" blocks? - by cgpzs - 24-08-2023, 12:05 PM
RE: Rule 6-3-1: Does it also apply to "case" blocks? - by misra cpp - 06-11-2023, 01:25 PM
|