Skip to content

Commit ab1dc64

Browse files
committed
C++: expand qldoc on MemberFunction::getTypeOfThis()
1 parent 0ae5fb0 commit ab1dc64

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/ql/src/semmle/code/cpp/MemberFunction.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ class MemberFunction extends Function {
7272
}
7373

7474
/**
75-
* Gets the type of the `this` parameter associated with this member function, if any.
75+
* Gets the type of the `this` parameter associated with this member function, if any. Typically,
76+
* this will be a `PointerType`, possibly with `const` and/or `volatile` qualifiers.
7677
*/
7778
Type getTypeOfThis() {
7879
member_function_this_type(underlyingElement(this), unresolveElement(result))

0 commit comments

Comments
 (0)