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