|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] docs/misra: add Rules 8.2, 8.3, 8.14
From: Stefano Stabellini <stefano.stabellini@xxxxxxx>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxx>
---
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
<https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_02.c>`_
+ - Required
+ - Function types shall be in prototype form with named parameters
+ -
+
+ * - `Rule 8.3
<https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_03.c>`_
+ - Required
+ - All declarations of an object or function shall use the same
+ names and type qualifiers
+ -
+
* - `Rule 8.4
<https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_04.c>`_
- 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
<https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_08_14.c>`_
+ - Required
+ - The restrict type qualifier shall not be used
+ -
+
* - `Rule 9.1
<https://gitlab.com/MISRA/MISRA-C/MISRA-C-2012/Example-Suite/-/blob/master/R_09_01.c>`_
- Mandatory
- The value of an object with automatic storage duration shall not
--
2.25.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |