Applied google-readability-namespace-comments clang-tidy fixes
This commit is contained in:
@@ -537,4 +537,4 @@ void generator::generate(std::ostream &ostr) const
|
||||
|
||||
ostr << "@enduml" << '\n';
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::class_diagram::generators::plantuml
|
||||
|
||||
@@ -81,7 +81,7 @@ private:
|
||||
std::string render_name(std::string name) const;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace plantuml
|
||||
} // namespace generators
|
||||
} // namespace class_diagram
|
||||
} // namespace clanguml
|
||||
|
||||
@@ -194,4 +194,4 @@ int class_::calculate_template_specialization_match(
|
||||
|
||||
return res;
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -105,7 +105,7 @@ private:
|
||||
std::string full_name_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
namespace std {
|
||||
template <>
|
||||
@@ -119,4 +119,4 @@ struct hash<std::reference_wrapper<clanguml::class_diagram::model::class_>> {
|
||||
return std::hash<id_t>{}(key.get().id());
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace std
|
||||
|
||||
@@ -42,4 +42,4 @@ inja::json class_element::context() const
|
||||
ctx["access"] = to_string(access());
|
||||
return ctx;
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -44,4 +44,4 @@ private:
|
||||
std::string type_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -37,4 +37,4 @@ bool class_member::is_static() const { return is_static_; }
|
||||
|
||||
void class_member::is_static(bool is_static) { is_static_ = is_static; }
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -41,4 +41,4 @@ private:
|
||||
bool is_static_{false};
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -61,4 +61,4 @@ void class_method::add_parameter(method_parameter &¶meter)
|
||||
{
|
||||
parameters_.emplace_back(std::move(parameter));
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -58,4 +58,4 @@ private:
|
||||
bool is_defaulted_{false};
|
||||
bool is_static_{false};
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -35,4 +35,4 @@ void class_parent::set_access(common::model::access_t access)
|
||||
|
||||
common::model::access_t class_parent::access() const { return access_; }
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -46,4 +46,4 @@ private:
|
||||
bool is_virtual_{false};
|
||||
common::model::access_t access_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -294,7 +294,7 @@ inja::json diagram::context() const
|
||||
return ctx;
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
namespace clanguml::common::model {
|
||||
template <>
|
||||
|
||||
@@ -96,7 +96,7 @@ private:
|
||||
|
||||
std::map<std::string, std::unique_ptr<type_alias>> type_aliases_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
namespace clanguml::common::model {
|
||||
template <>
|
||||
|
||||
@@ -54,4 +54,4 @@ std::vector<std::string> &enum_::constants() { return constants_; }
|
||||
|
||||
const std::vector<std::string> &enum_::constants() const { return constants_; }
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -49,4 +49,4 @@ private:
|
||||
std::vector<std::string> constants_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -49,4 +49,4 @@ std::string method_parameter::to_string(
|
||||
return fmt::format("{} {} = {}", type_ns, name(), default_value());
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -45,4 +45,4 @@ private:
|
||||
std::string default_value_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -215,4 +215,4 @@ bool template_parameter::find_nested_relationships(
|
||||
return added_aggregation_relationship;
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -129,4 +129,4 @@ private:
|
||||
|
||||
std::optional<int64_t> id_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -31,4 +31,4 @@ void type_alias::set_underlying_type(const std::string &type)
|
||||
|
||||
std::string type_alias::underlying_type() const { return underlying_type_; }
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -34,4 +34,4 @@ private:
|
||||
std::string underlying_type_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::class_diagram::model
|
||||
|
||||
@@ -2172,4 +2172,4 @@ translation_unit_visitor::get_ast_local_id(int64_t local_id) const
|
||||
|
||||
return local_ast_id_map_.at(local_id);
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::class_diagram::visitor
|
||||
|
||||
@@ -255,4 +255,4 @@ private:
|
||||
common::model::access_t>>
|
||||
anonymous_struct_relationships_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::class_diagram::visitor
|
||||
|
||||
Reference in New Issue
Block a user