Skip to content

Commit 26c8f62

Browse files
committed
Update the alert message in the select statement
Using factual statements rather than a modal one, in this case `should`.
1 parent dcda9b6 commit 26c8f62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/misra/src/rules/RULE-6-1/BitFieldsShallOnlyBeDeclaredWithAnAppropriateType.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ from BitField bitField
3636
where
3737
not isExcluded(bitField, TypesPackage::bitFieldsShallOnlyBeDeclaredWithAnAppropriateTypeQuery()) and
3838
isInappropriateType(bitField.getType())
39-
select bitField, "Type " + bitField.getType() + " should not have a bit-field declaration at " + bitField + "."
39+
select bitField, "Bit-field " + bitField + " is declared on type " + bitField + "."

0 commit comments

Comments
 (0)