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

Member predicate InQualifierObject::isQualifierObject

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

Example:

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