Skip to content

Commit a30e93c

Browse files
committed
Fix @kind metadata property
1 parent a3525b8 commit a30e93c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cpp/misra/src/rules/RULE-8-7-2/PointerDifferenceTakenBetweenDifferentArrays.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id cpp/misra/pointer-difference-taken-between-different-arrays
33
* @name RULE-8-7-2: Subtraction between pointers shall only be applied to ones that address elements of the same array
44
* @description Pointer difference should be taken from pointers that belong to a same array.
5-
* @kind problem
5+
* @kind path-problem
66
* @precision high
77
* @problem.severity error
88
* @tags external/misra/id/rule-8-7-2

cpp/misra/src/rules/RULE-8-9-1/PointerComparedBetweenDifferentArrays.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @id cpp/misra/pointer-compared-between-different-arrays
33
* @name RULE-8-9-1: The built-in relational operators >, >=, < and <= shall not be applied to objects of pointer type
44
* @description Pointer comparison should be done between ones that belong to a same array.
5-
* @kind problem
5+
* @kind path-problem
66
* @precision high
77
* @problem.severity error
88
* @tags external/misra/id/rule-8-9-1

rule_packages/cpp/Memory2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"queries": [
99
{
1010
"description": "Pointer difference should be taken from pointers that belong to a same array.",
11-
"kind": "problem",
11+
"kind": "path-problem",
1212
"name": "Subtraction between pointers shall only be applied to ones that address elements of the same array",
1313
"precision": "high",
1414
"severity": "error",

rule_packages/cpp/Memory3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"queries": [
99
{
1010
"description": "Pointer comparison should be done between ones that belong to a same array.",
11-
"kind": "problem",
11+
"kind": "path-problem",
1212
"name": "The built-in relational operators >, >=, < and <= shall not be applied to objects of pointer type",
1313
"precision": "high",
1414
"severity": "error",

0 commit comments

Comments
 (0)