forked from FreeRTOS/coreJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmisra.config
39 lines (38 loc) · 1.18 KB
/
misra.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// MISRA C-2012 Rules
{
version : "2.0",
standard : "c2012",
title: "Coverity MISRA Configuration",
deviations : [
{
deviation: "Directive 4.9",
category: "Advisory",
reason: "Allow inclusion of function like macros."
},
{
deviation: "Rule 8.13",
category: "Advisory",
reason: "Allow one function to have a char * argument without const qualifier."
},
{
deviation: "Rule 15.4",
category: "Advisory",
reason: "Allow more then one break statement to terminate a loop"
},
{
deviation: "Rule 19.2",
category: "Advisory",
reason: "Allow a union of a signed and unsigned type of identical sizes."
},
{
deviation: "Rule 3.1",
category: "Required",
reason: "Allow nested comments. Documentation blocks contain comments for example code."
},
{
deviation: "Rule 20.12",
category: "Required",
reason: "Allow use of assert(), which uses a parameter in both expanded and raw forms."
},
]
}