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

Member predicate ClassDerivation::getBaseClass

Gets the class/struct from which we are actually deriving, resolving a typedef if necessary. For example, the base class in the following code would be B:

struct B {
};

typedef B T;

struct D : T {
};
Class getBaseClass()