We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca25971 commit 8bd3be6Copy full SHA for 8bd3be6
cpp/ql/src/semmle/code/cpp/MemberFunction.qll
@@ -70,6 +70,13 @@ class MemberFunction extends Function {
70
result = getADeclarationEntry() and result != getDefinition()
71
)
72
}
73
+
74
+ /**
75
+ * Gets the type of the `this` parameter associated with this member function.
76
+ */
77
+ Type getTypeOfThis() {
78
+ member_function_this_type(underlyingElement(this), unresolveElement(result))
79
+ }
80
81
82
/**
0 commit comments