Expand description
C++ type-hierarchy resolution: the include-visible class table and the
namespace/alias search that turns a written base specifier into a CodeUnit.
analyzer/cpp/hierarchy.rs in brokk-bifrost-analysis keeps the
TypeHierarchyProvider impl, the two moka caches it reads through and the
test-support build counter; every decision they memoize is a function here.
Functionsยง
- build_
cpp_ visible_ type_ units - Every class-like or alias declaration reachable from
filethrough its transitive#includeclosure, sorted and deduplicated. - cpp_
resolve_ direct_ ancestors - The direct base classes of
code_unit, resolved through the include-visible class table and canonicalized past any type-alias hops.