CodeQL library for C/C++
Search

Member predicate MessageExpr::hasStaticTarget

Holds if the compiler could infer a function as the target of this message.

In all cases, actual function dispatch isn’t performed until runtime, but the lack of a static target is often cause for concern.

predicate hasStaticTarget()