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

Member predicate MetricClass::getInheritanceDepth

Gets the maximum depth of inheritance of this class. A class with no base class has depth 0.

int getInheritanceDepth()