23 lines
646 B
Plaintext
23 lines
646 B
Plaintext
// MISRA C-2012 Rules
|
|
|
|
{
|
|
version : "2.0",
|
|
standard : "c2012",
|
|
title: "Coverity MISRA Configuration",
|
|
deviations : [
|
|
// Disable the following rules.
|
|
{
|
|
deviation: "Directive 4.9",
|
|
reason: "Allow inclusion of function like macros. Logging is done using function like macros."
|
|
},
|
|
{
|
|
deviation: "Rule 2.4",
|
|
reason: "Allow unused tags. Some compilers warn if types are not tagged."
|
|
},
|
|
{
|
|
deviation: "Rule 3.1",
|
|
reason: "Allow nested comments. Documentation blocks contain comments for example code."
|
|
}
|
|
]
|
|
}
|