Added template decorator pattern

This commit is contained in:
Bartek Kryza
2021-07-25 22:51:46 +02:00
parent 16e60ec8c5
commit ee753f5595
11 changed files with 221 additions and 2 deletions

View File

@@ -271,7 +271,8 @@ public:
try {
relstr << m_model.to_alias(uns, ns_relative(uns, b.name))
<< " <|-- "
<< m_model.to_alias(uns, ns_relative(uns, c.name))
<< m_model.to_alias(
uns, ns_relative(uns, c.full_name(uns)))
<< std::endl;
ostr << relstr.str();
}

View File

@@ -319,6 +319,8 @@ void tu_visitor::process_class_declaration(const cppast::cpp_class &cls,
cp.access = class_parent::access_t::kPublic;
}
LOG_DBG("Found base class {} for class {}", cp.name, c.name);
c.bases.emplace_back(std::move(cp));
}