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

Member predicate FunctionCall::getTarget

Gets the function called by this call.

In the case of virtual function calls, the result is the most-specific function in the override tree such that the target at runtime will be one of result.getAnOverridingFunction*(). The most-specific function is determined by the compiler based on the compile time type of the object the function is a member of.

Function getTarget()