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

Member predicate OutQualifierObject::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()