Added free function sequence diagram test case

This commit is contained in:
Bartek Kryza
2021-10-16 15:59:59 +02:00
parent 69f7b1fee7
commit 388c52cd7a
7 changed files with 92 additions and 1 deletions

View File

@@ -93,6 +93,8 @@ void translation_unit_visitor::process_activities(const cppast::cpp_function &e)
.lookup_definition(function_call.get_callee_id())
.value();
m.to = cx::util::ns(callee) + "::" + callee.name();
if (callee.kind() == cpp_entity_kind::function_t)
m.to += "()";
if (!ctx.config().should_include(m.to))
continue;