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