Fixed dependency generation for template specializations

This commit is contained in:
Bartek Kryza
2021-03-20 19:54:04 +01:00
parent 79ad29164c
commit 90952d8c3c
9 changed files with 91 additions and 29 deletions

View File

@@ -17,6 +17,8 @@
*/
#pragma once
#include "util/util.h"
#include <spdlog/spdlog.h>
#include <yaml-cpp/yaml.h>
@@ -51,8 +53,10 @@ struct diagram {
plantuml puml;
bool should_include(const std::string &name) const
bool should_include(const std::string &name_) const
{
auto name = clanguml::util::unqualify(name_);
for (const auto &ex : exclude.namespaces) {
if (name.find(ex) == 0)
return false;
@@ -68,6 +72,8 @@ struct diagram {
return true;
}
spdlog::debug("Skipping from diagram: {}", name);
return false;
}
};