mirror of
https://github.com/github/codeql.git
synced 2026-04-18 05:24:01 +02: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