-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
daf174d
commit b990dbb
Showing
5 changed files
with
70 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
// MISRA C-2012 Rules | ||
{ | ||
version : "2.0", | ||
standard : "c2012", | ||
title: "Coverity MISRA Configuration", | ||
deviations : [ | ||
// Disable the following rules. | ||
"version" : "2.0", | ||
"standard" : "c2012", | ||
"title": "Coverity MISRA Configuration", | ||
"deviations" : [ | ||
{ | ||
deviation: "Directive 4.9", | ||
reason: "Allow inclusion of function like macros. Asserts, logging, and topic string macros use function like macros." | ||
"deviation": "Directive 4.9", | ||
"reason": "Allow inclusion of function like macros. Asserts, logging, and topic string macros use function like macros." | ||
}, | ||
{ | ||
deviation: "Rule 2.5", | ||
reason: "Allow unused macros. Macros defined for topic strings are not used by the library, but are part of the API." | ||
"deviation": "Rule 2.5", | ||
"reason": "Allow unused macros. Macros defined for topic strings are not used by the library, but are part of the API." | ||
}, | ||
{ | ||
deviation: "Rule 3.1", | ||
reason: "Allow nested comments. C++ style `//` comments are used in example code within Doxygen documentation blocks." | ||
"deviation": "Rule 3.1", | ||
"reason": "Allow nested comments. C++ style `//` comments are used in example code within Doxygen documentation blocks." | ||
}, | ||
{ | ||
deviation: "Rule 8.7", | ||
reason: "API functions are not used by library. They must be externally visible in order to be used by the application." | ||
}, | ||
"deviation": "Rule 8.7", | ||
"reason": "API functions are not used by library. They must be externally visible in order to be used by the application." | ||
} | ||
] | ||
} |