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