We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee88c23 commit 1b864a3Copy full SHA for 1b864a3
c/misra/test/rules/RULE-7-5/test.c
@@ -19,7 +19,7 @@ uint_least8_t g1[] = {
19
UINT8_C(-0b111), // NON-COMPLIANT
20
UINT8_C('a'), // NON-COMPLIANT
21
UINT8_C(-'$'), // NON-COMPLIANT
22
- UINT8_C('\n'), // NON-COMPLIANT
+ UINT8_C('\n'), // NON-COMPLIANT
23
24
// Suffixes disallowed
25
UINT8_C(1u), // NON-COMPLIANT
rule_packages/c/Types2.json
@@ -10,7 +10,7 @@
10
"kind": "problem",
11
"name": "The argument of an integer constant macro shall be a literal",
12
"precision": "very-high",
13
- "severity": "error",
+ "severity": "warning",
14
"short_name": "InvalidIntegerConstantMacroArgument",
15
"tags": [
16
"correctness"
0 commit comments