mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
C++: Fix explicit this-> FP.
This commit is contained in:
@@ -40,6 +40,10 @@ int Foo::test(int (*baz)(int))
|
||||
(void)i, // GOOD
|
||||
(void)j;
|
||||
|
||||
if (i)
|
||||
this->foo(i), // GOOD
|
||||
foo(i);
|
||||
|
||||
if (i)
|
||||
(void)i, // BAD
|
||||
(void)j;
|
||||
|
||||
Reference in New Issue
Block a user