Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77a4c55

Browse filesBrowse files
committed
really minor formatting
1 parent abb35fc commit 77a4c55
Copy full SHA for 77a4c55

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-6-2/SingleBitNamedBitFieldsOfASignedType.ql
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.