Skip to content

Commit 0e9758e

Browse files
committed
Add tags to represent which MISRA C version the rule was introduced in
1 parent 7f62053 commit 0e9758e

File tree

229 files changed

+845
-445
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+845
-445
lines changed

c/misra/src/rules/DIR-4-10/PrecautionIncludeGuardsNotProvided.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* correctness
1111
* maintainability
1212
* readability
13+
* external/misra/c/2012/third-edition-first-revision
1314
* external/misra/obligation/required
1415
*/
1516

c/misra/src/rules/DIR-4-12/StdLibDynamicMemoryAllocationUsed.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* security
1212
* correctness
1313
* maintainability
14+
* external/misra/c/2012/third-edition-first-revision
1415
* external/misra/obligation/required
1516
*/
1617

c/misra/src/rules/DIR-4-2/UsageOfAssemblyLanguageShouldBeDocumented.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @tags external/misra/id/dir-4-2
99
* maintainability
1010
* readability
11+
* external/misra/c/2012/third-edition-first-revision
1112
* external/misra/obligation/advisory
1213
*/
1314

c/misra/src/rules/DIR-4-3/LanguageNotEncapsulatedAndIsolated.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @tags external/misra/id/dir-4-3
1010
* maintainability
1111
* readability
12+
* external/misra/c/2012/third-edition-first-revision
1213
* external/misra/obligation/required
1314
*/
1415

c/misra/src/rules/DIR-4-4/SectionsOfCodeShallNotBeCommentedOut.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* maintainability
1010
* readability
1111
* correctness
12+
* external/misra/c/2012/third-edition-first-revision
1213
* external/misra/obligation/advisory
1314
*/
1415

c/misra/src/rules/DIR-4-5/IdentifiersInTheSameNameSpaceUnambiguous.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @tags external/misra/id/dir-4-5
99
* readability
1010
* maintainability
11+
* external/misra/c/2012/third-edition-first-revision
1112
* external/misra/obligation/advisory
1213
*/
1314

c/misra/src/rules/DIR-4-6/PlainNumericalTypeUsedOverExplicitTypedef.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @precision high
88
* @problem.severity error
99
* @tags external/misra/id/dir-4-6
10+
* external/misra/c/2012/third-edition-first-revision
1011
* external/misra/obligation/advisory
1112
*/
1213

c/misra/src/rules/DIR-4-8/ObjectWithNoPointerDereferenceShouldBeOpaque.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* @tags external/misra/id/dir-4-8
1111
* readability
1212
* maintainability
13+
* external/misra/c/2012/third-edition-first-revision
1314
* external/misra/obligation/advisory
1415
*/
1516

c/misra/src/rules/DIR-4-9/FunctionOverFunctionLikeMacro.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
* external/misra/audit
1111
* maintainability
1212
* readability
13+
* external/misra/c/2012/third-edition-first-revision
1314
* external/misra/obligation/advisory
1415
*/
1516

c/misra/src/rules/RULE-1-2/LanguageExtensionsShouldNotBeUsed.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @tags external/misra/id/rule-1-2
99
* maintainability
1010
* readability
11+
* external/misra/c/2012/third-edition-first-revision
1112
* external/misra/obligation/advisory
1213
*/
1314

0 commit comments

Comments
 (0)