Applied hicpp-noexcept-move clang-tidy fixes
This commit is contained in:
@@ -27,9 +27,9 @@ diagram::diagram() = default;
|
|||||||
|
|
||||||
diagram::~diagram() = default;
|
diagram::~diagram() = default;
|
||||||
|
|
||||||
diagram::diagram(diagram &&) = default;
|
diagram::diagram(diagram &&) noexcept = default;
|
||||||
|
|
||||||
diagram &diagram::operator=(diagram &&) = default;
|
diagram &diagram::operator=(diagram &&) noexcept = default;
|
||||||
|
|
||||||
common::optional_ref<clanguml::common::model::diagram_element>
|
common::optional_ref<clanguml::common::model::diagram_element>
|
||||||
diagram::get_with_namespace(const std::string &name, const namespace_ &ns) const
|
diagram::get_with_namespace(const std::string &name, const namespace_ &ns) const
|
||||||
|
|||||||
@@ -51,9 +51,9 @@ public:
|
|||||||
get_with_namespace(const std::string &name, const namespace_ &ns) const;
|
get_with_namespace(const std::string &name, const namespace_ &ns) const;
|
||||||
|
|
||||||
diagram(const diagram &) = delete;
|
diagram(const diagram &) = delete;
|
||||||
diagram(diagram &&);
|
diagram(diagram &&) noexcept;
|
||||||
diagram &operator=(const diagram &) = delete;
|
diagram &operator=(const diagram &) = delete;
|
||||||
diagram &operator=(diagram &&);
|
diagram &operator=(diagram &&) noexcept;
|
||||||
|
|
||||||
void set_name(const std::string &name);
|
void set_name(const std::string &name);
|
||||||
std::string name() const;
|
std::string name() const;
|
||||||
|
|||||||
@@ -30,10 +30,10 @@ public:
|
|||||||
nested_trait() = default;
|
nested_trait() = default;
|
||||||
|
|
||||||
nested_trait(const nested_trait &) = delete;
|
nested_trait(const nested_trait &) = delete;
|
||||||
nested_trait(nested_trait &&) = default;
|
nested_trait(nested_trait &&) noexcept = default;
|
||||||
|
|
||||||
nested_trait &operator=(const nested_trait &) = delete;
|
nested_trait &operator=(const nested_trait &) = delete;
|
||||||
nested_trait &operator=(nested_trait &&) = default;
|
nested_trait &operator=(nested_trait &&) noexcept = default;
|
||||||
|
|
||||||
virtual ~nested_trait() = default;
|
virtual ~nested_trait() = default;
|
||||||
|
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ public:
|
|||||||
|
|
||||||
path(path &&right) noexcept = default;
|
path(path &&right) noexcept = default;
|
||||||
|
|
||||||
path &operator=(path &&right) = default;
|
path &operator=(path &&right) noexcept = default;
|
||||||
|
|
||||||
path(std::initializer_list<std::string> ns)
|
path(std::initializer_list<std::string> ns)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user