Skip to content

Commit 445d18e

Browse files
Add misra c 2012 amendment3 tag
1 parent 3708edf commit 445d18e

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

rule_packages/c/Types2.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"severity": "warning",
1414
"short_name": "InvalidIntegerConstantMacroArgument",
1515
"tags": [
16-
"correctness"
16+
"correctness",
17+
"external/misra/c/2012/amendment3"
1718
]
1819
},
1920
{
@@ -24,7 +25,8 @@
2425
"severity": "error",
2526
"short_name": "InvalidLiteralForIntegerConstantMacroArgument",
2627
"tags": [
27-
"correctness"
28+
"correctness",
29+
"external/misra/c/2012/amendment3"
2830
]
2931
},
3032
{
@@ -36,7 +38,8 @@
3638
"short_name": "IntegerConstantMacroArgumentUsesSuffix",
3739
"tags": [
3840
"readability",
39-
"maintainability"
41+
"maintainability",
42+
"external/misra/c/2012/amendment3"
4043
]
4144
},
4245
{
@@ -47,7 +50,8 @@
4750
"severity": "error",
4851
"short_name": "IncorrectlySizedIntegerConstantMacroArgument",
4952
"tags": [
50-
"correctness"
53+
"correctness",
54+
"external/misra/c/2012/amendment3"
5155
],
5256
"implementation_scope": {
5357
"description": "This rule can validate integers sized 32 or smaller. When the CodeQL runtime supports big ints, this will be expanded to include 64 bit integer types."
@@ -69,7 +73,8 @@
6973
"severity": "warning",
7074
"short_name": "UseOfBannedSmallIntegerConstantMacro",
7175
"tags": [
72-
"readability"
76+
"readability",
77+
"external/misra/c/2012/amendment3"
7378
]
7479
}
7580
],

0 commit comments

Comments
 (0)