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

Member predicate ClassDerivation::getDerivedClass

Gets the class/struct that is doing the deriving. For example, the derived class in the following code would be D:

struct B {
};

struct D : B {
};
Class getDerivedClass()