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

Member predicate FunctionCall::isVirtual

Holds if this is a call to a virtual function.

Note that this holds even in cases where a sufficiently clever compiler could perform static dispatch.

predicate isVirtual()