Skip to content

Commit

Permalink
Fixed plantuml_sequence_diagram_generator_sequence diagram generation
Browse files Browse the repository at this point in the history
  • Loading branch information
bkryza committed Jun 28, 2024
1 parent 4c87c01 commit 01c6264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/sequence_diagram/visitor/translation_unit_visitor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1708,7 +1708,9 @@ translation_unit_visitor::create_class_model(clang::CXXRecordDecl *cls)
.get_participant<clanguml::sequence_diagram::model::class_>(
*id_opt);

assert(parent_class);
if (!parent_class) {
return {};
}

c.set_namespace(ns);
if (cls->getNameAsString().empty()) {
Expand Down
2 changes: 1 addition & 1 deletion uml/class/filter_visitor_hierarchy_class.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Diagram filter visitor class hierarchy
include_relations_also_as_members: true
generate_packages: true
glob:
- src/common/model/diagram_filter.cc
- src/common/model/filters/*.cc
include:
namespaces:
- clanguml
Expand Down

0 comments on commit 01c6264

Please sign in to comment.