Commit 3eca5d6
committed
EssentialTypes: Ensure compatibility with C++
This query looks for use of memcmp, but previously it would not have
worked if the user was using C++ and specified std::memcmp.
Although this rule is targeted at C, it is one that a user might enable
for C++ and expect to work.1 parent 326d7d3 commit 3eca5d6
File tree
1 file changed
+1
-1
lines changed- c/misra/src/rules/RULE-21-16
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments