Skip to content

Commit

Permalink
Add tag misra c 2012 amendment 3
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRFairhurst committed Oct 4, 2024
1 parent 31dc8bc commit d077885
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions c/misra/src/rules/RULE-1-5/CallToReallocWithSizeZero.ql
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
* @problem.severity error
* @tags external/misra/id/rule-1-5
* correctness
* external/misra/c/2012/amendment3
* external/misra/obligation/required
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @tags external/misra/id/rule-1-5
* maintainability
* readability
* external/misra/c/2012/amendment3
* external/misra/obligation/required
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @tags external/misra/id/rule-1-5
* maintainability
* readability
* external/misra/c/2012/amendment3
* external/misra/obligation/required
*/

Expand Down
9 changes: 6 additions & 3 deletions rule_packages/c/Language4.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"short_name": "UseOfObsoleteMacroAtomicVarInit",
"tags": [
"maintainability",
"readability"
"readability",
"external/misra/c/2012/amendment3"
]
},
{
Expand All @@ -26,7 +27,8 @@
"short_name": "InvalidDefineOrUndefOfStdBoolMacro",
"tags": [
"maintainability",
"readability"
"readability",
"external/misra/c/2012/amendment3"
]
},
{
Expand All @@ -37,7 +39,8 @@
"severity": "error",
"short_name": "CallToReallocWithSizeZero",
"tags": [
"correctness"
"correctness",
"external/misra/c/2012/amendment3"
]
}
],
Expand Down

0 comments on commit d077885

Please sign in to comment.