Applied google-readability-namespace-comments clang-tidy fixes
This commit is contained in:
@@ -91,4 +91,4 @@ void decorated_element::append(const decorated_element &de)
|
||||
std::optional<comment_t> decorated_element::comment() const { return comment_; }
|
||||
|
||||
void decorated_element::set_comment(const comment_t &c) { comment_ = c; }
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -61,4 +61,4 @@ private:
|
||||
std::optional<comment_t> comment_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -108,4 +108,4 @@ bool diagram::should_include(const common::model::source_file &f) const
|
||||
return filter_->should_include(f);
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
@@ -88,4 +88,4 @@ private:
|
||||
};
|
||||
|
||||
template <typename DiagramT> bool check_diagram_type(diagram_t t);
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -105,4 +105,4 @@ std::ostream &operator<<(std::ostream &out, const diagram_element &rhs)
|
||||
return out;
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -85,4 +85,4 @@ private:
|
||||
|
||||
static std::atomic_uint64_t m_nextId;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -612,4 +612,4 @@ bool diagram_filter::should_include<std::string>(const std::string &name) const
|
||||
|
||||
return should_include(ns, n);
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -363,4 +363,4 @@ private:
|
||||
|
||||
template <>
|
||||
bool diagram_filter::should_include<std::string>(const std::string &name) const;
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
@@ -64,4 +64,4 @@ std::ostream &operator<<(std::ostream &out, const element &rhs)
|
||||
return out;
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -76,4 +76,4 @@ private:
|
||||
namespace_ ns_;
|
||||
namespace_ using_namespace_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -133,4 +133,4 @@ std::string to_string(const diagram_t t)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -79,4 +79,4 @@ std::string to_string(message_t m);
|
||||
|
||||
std::string to_string(diagram_t r);
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -50,4 +50,4 @@ template <> struct hash<clanguml::common::model::namespace_> {
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace std
|
||||
|
||||
@@ -171,4 +171,4 @@ private:
|
||||
std::vector<std::unique_ptr<T>> elements_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -40,4 +40,4 @@ bool package::is_deprecated() const { return is_deprecated_; }
|
||||
|
||||
void package::set_deprecated(bool deprecated) { is_deprecated_ = deprecated; }
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
@@ -55,7 +55,7 @@ public:
|
||||
private:
|
||||
bool is_deprecated_{false};
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
namespace std {
|
||||
template <>
|
||||
@@ -69,4 +69,4 @@ struct hash<std::reference_wrapper<clanguml::common::model::package>> {
|
||||
return std::hash<id_t>{}(key.get().id());
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace std
|
||||
@@ -216,4 +216,4 @@ private:
|
||||
container_type path_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
@@ -82,4 +82,4 @@ bool operator==(const relationship &l, const relationship &r)
|
||||
return l.type() == r.type() && l.destination() == r.destination() &&
|
||||
l.label() == r.label();
|
||||
}
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -64,4 +64,4 @@ private:
|
||||
std::string label_;
|
||||
access_t access_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -119,7 +119,7 @@ private:
|
||||
source_file_t type_{source_file_t::kDirectory};
|
||||
bool is_absolute_{false};
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
namespace std {
|
||||
|
||||
@@ -139,7 +139,7 @@ template <> struct hash<clanguml::common::model::filesystem_path> {
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace std
|
||||
|
||||
namespace std {
|
||||
template <>
|
||||
@@ -153,4 +153,4 @@ struct hash<std::reference_wrapper<clanguml::common::model::source_file>> {
|
||||
return std::hash<id_t>{}(key.get().id());
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace std
|
||||
@@ -48,4 +48,4 @@ private:
|
||||
unsigned int line_{0};
|
||||
unsigned int hash_;
|
||||
};
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
@@ -30,4 +30,4 @@ private:
|
||||
std::string style_;
|
||||
};
|
||||
|
||||
}
|
||||
} // namespace clanguml::common::model
|
||||
|
||||
@@ -71,4 +71,4 @@ inline value_t any_of(InputIterator first, InputIterator last, Predicate pred)
|
||||
|
||||
return res;
|
||||
}
|
||||
};
|
||||
} // namespace clanguml::common::model::tvl;
|
||||
Reference in New Issue
Block a user