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

Member predicate ClassDerivation::getIndex

Gets the index of the derivation in the derivation list for the derived class/struct (indexed from 0). For example, the index of the derivation of B2 in the following code would be 1:

struct D : B1, B2 {
  ...
};
int getIndex()