CodeQL library for C/C++
codeql/cpp-all 2.1.1 (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)