Skip to content

Commit 6996147

Browse files
committed
Add additional tags to the query objects
1 parent 2d38485 commit 6996147

1 file changed

Lines changed: 23 additions & 8 deletions

File tree

rule_packages/cpp/Conversions.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
"severity": "error",
1515
"short_name": "NoConversionFromBool",
1616
"tags": [
17-
"scope/single-translation-unit"
17+
"scope/single-translation-unit",
18+
"maintainability",
19+
"readability",
20+
"correctness"
1821
]
1922
}
2023
],
@@ -34,7 +37,10 @@
3437
"severity": "error",
3538
"short_name": "NoImplicitBoolConversion",
3639
"tags": [
37-
"scope/single-translation-unit"
40+
"scope/single-translation-unit",
41+
"maintainability",
42+
"readability",
43+
"correctness"
3844
]
3945
}
4046
],
@@ -54,7 +60,9 @@
5460
"severity": "error",
5561
"short_name": "NoCharacterNumericalValue",
5662
"tags": [
57-
"scope/single-translation-unit"
63+
"scope/single-translation-unit",
64+
"maintainability",
65+
"readability"
5866
]
5967
}
6068
],
@@ -74,7 +82,8 @@
7482
"severity": "error",
7583
"short_name": "InappropriateBitwiseOrShiftOperands",
7684
"tags": [
77-
"scope/single-translation-unit"
85+
"scope/single-translation-unit",
86+
"correctness"
7887
]
7988
}
8089
],
@@ -94,7 +103,9 @@
94103
"severity": "error",
95104
"short_name": "NoSignednessChangeFromPromotion",
96105
"tags": [
97-
"scope/single-translation-unit"
106+
"scope/single-translation-unit",
107+
"correctness",
108+
"maintainability"
98109
],
99110
"implementation_scope": {
100111
"description": "Arithmetic conversions in preprocessor directives are not supported."
@@ -117,7 +128,9 @@
117128
"severity": "error",
118129
"short_name": "NumericAssignmentTypeMismatch",
119130
"tags": [
120-
"scope/single-translation-unit"
131+
"scope/single-translation-unit",
132+
"correctness",
133+
"maintainability"
121134
]
122135
}
123136
],
@@ -137,11 +150,13 @@
137150
"severity": "error",
138151
"short_name": "FunctionPointerConversionContext",
139152
"tags": [
140-
"scope/single-translation-unit"
153+
"scope/single-translation-unit",
154+
"correctness",
155+
"readability"
141156
]
142157
}
143158
],
144159
"title": "A conversion from function type to pointer-to-function type shall only occur in appropriate contexts"
145160
}
146161
}
147-
}
162+
}

0 commit comments

Comments
 (0)