CodeQL library for C/C++
codeql/cpp-all 2.0.2-dev (changelog, source)
Search

Member predicate FunctionOutput::isQualifierObject

Holds if this is the output value pointed to by the this pointer of an instance member function.

Example:

struct C {
  void mfunc(int n, char* p, float& r);
};
  • isQualifierObject() holds for the FunctionOutput that represents the value of *this (with type C) on return from the function.
predicate isQualifierObject()