Skip to content

Commit 77a4c55

Browse files
committed
really minor formatting
1 parent abb35fc commit 77a4c55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c/misra/src/rules/RULE-6-2/SingleBitNamedBitFieldsOfASignedType.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import codingstandards.c.misra
1616
predicate isSigned(Type type) {
1717
/* Check if it's a fixed number type, because declaring fixed number types like int8_t as 1 bit is obviously absurd */
1818
type instanceof FixedWidthIntegralType or
19-
/* Check if it's EXPLICITLY signed, because according to Rule 6.1, 'int' may be either signed or unsigned depending on the implementation. In the latter case, the query would lead to false positives. */
19+
/* Check if it's EXPLICITLY signed, because according to Rule 6.1, 'int' may be either signed or unsigned depending on the implementation. In the latter case, the query would lead to false positives. */
2020
type instanceof IntegralType and
2121
type.(IntegralType).isExplicitlySigned()
2222
}

0 commit comments

Comments
 (0)