From 49ecef9fb4b635523c10b51fac4ae93d563a58a6 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Tue, 20 Jun 2023 18:26:18 -0700 Subject: [PATCH] docs/misra: add Rules 8.2, 8.3, 8.14 Signed-off-by: Stefano Stabellini Reviewed-by: Bertrand Marquis --- docs/misra/rules.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/misra/rules.rst b/docs/misra/rules.rst index 11b9c42b70..9caf43968c 100644 --- a/docs/misra/rules.rst +++ b/docs/misra/rules.rst @@ -213,6 +213,17 @@ maintainers if you want to suggest a change. - Types shall be explicitly specified - + * - `Rule 8.2 `_ + - Required + - Function types shall be in prototype form with named parameters + - + + * - `Rule 8.3 `_ + - Required + - All declarations of an object or function shall use the same + names and type qualifiers + - + * - `Rule 8.4 `_ - Required - A compatible declaration shall be visible when an object or @@ -248,6 +259,11 @@ maintainers if you want to suggest a change. enumeration constant shall be unique - + * - `Rule 8.14 `_ + - Required + - The restrict type qualifier shall not be used + - + * - `Rule 9.1 `_ - Mandatory - The value of an object with automatic storage duration shall not