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