CPP: Apply recommended fix.

This commit is contained in:
Geoffrey White
2018-11-19 14:39:28 +00:00
parent 6a14748af8
commit 33130b9800
3 changed files with 10 additions and 2 deletions

View File

@@ -3,3 +3,4 @@
| test.cpp:83:10:83:15 | ... == ... | Self comparison. |
| test.cpp:90:10:90:15 | ... == ... | Self comparison. |
| test.cpp:118:7:118:32 | ... != ... | Self comparison. |
| test.cpp:151:11:151:16 | ... == ... | Self comparison. |

View File

@@ -148,5 +148,5 @@ void useMarkRange(int offs) {
#define MY_MACRO(x) (x)
void myMacroTest(int x) {
MY_MACRO(x == x); // BAD [NOT DETECTED]
MY_MACRO(x == x); // BAD
}