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