Fixed parsing non-template aliases to template instantiations

This commit is contained in:
Bartek Kryza
2022-05-22 13:05:46 +02:00
parent bee6f85a51
commit 3bd0f46b5c
2 changed files with 15 additions and 4 deletions

View File

@@ -1867,10 +1867,6 @@ void translation_unit_visitor::
static_cast<const cppast::cpp_template_instantiation_type &>(
targ.type().value());
std::string nnn{"empty"};
if (parent)
nnn = (*parent)->name();
auto [tinst_ns, tinst_name] =
cx::util::split_ns(tinst.full_name(false));