mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C++: Make implicit this receiver explicit
This commit is contained in:
@@ -24,7 +24,7 @@ class ClassPointerType extends @derivedtype {
|
||||
|
||||
Class getBaseType() { derivedtypes(this, _, _, result) }
|
||||
|
||||
string toString() { result = getBaseType().toString() + "*" }
|
||||
string toString() { result = this.getBaseType().toString() + "*" }
|
||||
}
|
||||
|
||||
class DefinedMemberFunction extends @function {
|
||||
|
||||
Reference in New Issue
Block a user