Fixed formatting

This commit is contained in:
Bartek Kryza
2022-07-31 00:42:13 +02:00
parent 37757b2ccc
commit dd85cfc19b
23 changed files with 76 additions and 64 deletions

View File

@@ -107,8 +107,8 @@ private:
namespace std {
template <>
struct hash<std::reference_wrapper<
const clanguml::class_diagram::model::class_>> {
struct hash<
std::reference_wrapper<const clanguml::class_diagram::model::class_>> {
std::size_t operator()(const std::reference_wrapper<
const clanguml::class_diagram::model::class_> &key) const
{

View File

@@ -245,7 +245,7 @@ bool translation_unit_visitor::VisitClassTemplateSpecializationDecl(
// Check if the class was already processed within
// VisitClassTemplateDecl()
if (diagram_.has_element(cls->getID()))
return true;
return true;
// TODO: Add support for classes defined in function/method bodies
if (cls->isLocalClass())

View File

@@ -144,7 +144,8 @@ private:
const clang::TemplateSpecializationType &template_instantiation_type);
void process_unexposed_template_specialization_parameters(
const std::string &tspec, clanguml::class_diagram::model::template_parameter &tp,
const std::string &tspec,
clanguml::class_diagram::model::template_parameter &tp,
clanguml::class_diagram::model::class_ &c);
bool find_relationships_in_unexposed_template_params(