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

Member predicate Class::getDerivation

Gets class derivation number index of this class/struct, for example the public B is derivation 1 in the following code:

class D : public A, public B, public C {
  ...
};
ClassDerivation getDerivation(int index)