diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index 1e134ccebc..79487cf91c 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -434,17 +434,18 @@ maintainers if you want to suggest a change. parameter declared as "array of type" - - * - `Rule 13.6 `_ - - Mandatory - - The operand of the sizeof operator shall not contain any - expression which has potential side effects - - - * - `Rule 13.1 `_ - Required - Initializer lists shall not contain persistent side effects - + * - `Rule 13.6 `_ + - Required + - The operand of the sizeof operator shall not contain any + expression which has potential side effects + - In addition to sizeof, we also want to apply the rule to typeof + and alignof + * - `Rule 14.1 `_ - Required - A loop counter shall not have essentially floating type