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

Member predicate InQualifierAddress::isQualifierAddress

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

Example:

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