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

Member predicate Function::isVirtual

Holds if this function is virtual.

Unlike isDeclaredVirtual(), isVirtual() holds even if the function is not explicitly declared with the virtual specifier.

predicate isVirtual()