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

Member predicate OutQualifierObject::isQualifierObject

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


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()