Fixed rendering of member variables with alias to template or alias template (t00014)

This commit is contained in:
Bartek Kryza
2022-02-22 13:02:04 +01:00
parent e8ebaad6c6
commit 1a5a7aefcb
21 changed files with 355 additions and 109 deletions

View File

@@ -80,7 +80,8 @@ void translation_unit_visitor::process_activities(const cppast::cpp_function &e)
.value();
m.from = cx::util::ns(caller) + "::" + caller.name();
if (!ctx.config().should_include(m.from))
if (!ctx.config().should_include(
util::split(cx::util::ns(caller), "::"), caller.name()))
continue;
if (caller.kind() == cpp_entity_kind::function_t)
@@ -96,7 +97,8 @@ void translation_unit_visitor::process_activities(const cppast::cpp_function &e)
if (callee.kind() == cpp_entity_kind::function_t)
m.to += "()";
if (!ctx.config().should_include(m.to))
if (!ctx.config().should_include(
util::split(cx::util::ns(callee), "::"), callee.name()))
continue;
m.to_usr = type_safe::get(function_call.get_callee_method_id());