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