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

Member predicate ClassDerivation::getBaseType

Gets the type from which we are deriving, without resolving any typedef. For example, the base type in the following code would be T:

struct B {
};

typedef B T;

struct D : T {
};
Type getBaseType()