CodeQL library for C/C++
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)