CodeQL library for C/C++
codeql/cpp-all 0.12.8-dev (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()