CodeQL library for C/C++
Search

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