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

Member predicate Call::getQualifier

Gets the expression to the left of the function name or function pointer variable name.

As a few examples: For the call to f in ptr->f(), this gives ptr. For the call to f in (*ptr).f(), this gives (*ptr).

Expr getQualifier()