Fixed formatting
This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
|
||||
namespace clanguml::class_diagram::model {
|
||||
|
||||
const std::vector<std::reference_wrapper<class_>> &
|
||||
diagram::classes() const
|
||||
const std::vector<std::reference_wrapper<class_>> &diagram::classes() const
|
||||
{
|
||||
return classes_;
|
||||
}
|
||||
|
||||
@@ -54,8 +54,7 @@ public:
|
||||
|
||||
std::string to_alias(const std::string &full_name) const;
|
||||
|
||||
const common::reference_vector<common::model::source_file> &
|
||||
files() const;
|
||||
const common::reference_vector<common::model::source_file> &files() const;
|
||||
|
||||
private:
|
||||
common::reference_vector<common::model::source_file> files_;
|
||||
|
||||
@@ -39,10 +39,8 @@ void generator::generate_relationships(
|
||||
for (const auto &r : p.relationships()) {
|
||||
std::stringstream relstr;
|
||||
try {
|
||||
relstr << p.alias()
|
||||
<< " ..> "
|
||||
<< m_model.to_alias(r.destination())
|
||||
<< '\n';
|
||||
relstr << p.alias() << " ..> "
|
||||
<< m_model.to_alias(r.destination()) << '\n';
|
||||
ostr << relstr.str();
|
||||
}
|
||||
catch (error::uml_alias_missing &e) {
|
||||
|
||||
@@ -86,7 +86,8 @@ private:
|
||||
common::model::relationship_t relationship_hint =
|
||||
common::model::relationship_t::kDependency);
|
||||
|
||||
void add_relationships(clang::DeclContext *cls, found_relationships_t &relationships);
|
||||
void add_relationships(
|
||||
clang::DeclContext *cls, found_relationships_t &relationships);
|
||||
|
||||
template <typename ClangDecl>
|
||||
void process_comment(
|
||||
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
std::shared_ptr<A::AA::A3::CC> cc_;
|
||||
std::map<std::string, std::unique_ptr<A::AA::A4::CD>> *cd_;
|
||||
std::array<A::AA::A15::CO, 5> co_;
|
||||
static A::AA::A16::CP* cp_;
|
||||
static A::AA::A16::CP *cp_;
|
||||
|
||||
CBA() = default;
|
||||
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
std::shared_ptr<A::AA::A7::CG> cg() { return {}; }
|
||||
|
||||
template <typename T>
|
||||
void ch(std::map<T, std::shared_ptr<A::AA::A8::CH>> & ch_)
|
||||
void ch(std::map<T, std::shared_ptr<A::AA::A8::CH>> &ch_)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user