Skip to content

Commit 5497cfa

Browse files
committed
Update NoReturn.json with MISRA C 2012 tags
1 parent d464b7f commit 5497cfa

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

rule_packages/c/NoReturn.json

+12-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"precision": "very-high",
1313
"severity": "recommendation",
1414
"short_name": "NonVoidReturnTypeOfNoreturnFunction",
15-
"tags": ["correctness"]
15+
"tags": [
16+
"correctness",
17+
"external/misra/c/2012/amendment3"
18+
]
1619
}
1720
],
1821
"title": "A function declared with _noreturn shall have a return type of void"
@@ -29,7 +32,10 @@
2932
"precision": "very-high",
3033
"severity": "recommendation",
3134
"short_name": "FunctionWithNoReturningBranchShouldBeNoreturn",
32-
"tags": ["correctness"]
35+
"tags": [
36+
"correctness",
37+
"external/misra/c/2012/amendment3"
38+
]
3339
}
3440
],
3541
"title": "A function without a branch that returns shall be declared with _Noreturn"
@@ -46,7 +52,10 @@
4652
"precision": "very-high",
4753
"severity": "error",
4854
"short_name": "ReturnStatementInNoreturnFunction",
49-
"tags": ["correctness"],
55+
"tags": [
56+
"correctness",
57+
"external/misra/c/2012/amendment3"
58+
],
5059
"shared_implementation_short_name": "FunctionNoReturnAttributeCondition"
5160
}
5261
],

0 commit comments

Comments
 (0)