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 791526e commit b477e34Copy full SHA for b477e34
c/misra/test/rules/RULE-18-10/test.c
@@ -94,12 +94,13 @@ void f2(int (*p1)[3], // COMPLIANT
94
int (*p5)[*][*] // NON-COMPLIANT[FALSE_NEGATIVE]
95
);
96
97
-#define CONFUSING_MACRO() \
98
- int x; \
99
- int (*vla)[x]; \
100
- int (*not_vla)[];
+#define CONFUSING_MACRO() \
+ int x; \
+ int(*vla)[x]; \
+ int(*not_vla)[];
101
102
void f3() {
103
- // We cannot report `vla` in this macro without a false positive for `not_vla`.
+ // We cannot report `vla` in this macro without a false positive for
104
+ // `not_vla`.
105
CONFUSING_MACRO() // COMPLIANT
106
}
0 commit comments