Applied modernize-concat-nested-namespaces clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-20 22:33:13 +01:00
parent 7061243113
commit 0ce7b533f4
3 changed files with 5 additions and 9 deletions

View File

@@ -71,4 +71,4 @@ inline value_t any_of(InputIterator first, InputIterator last, Predicate pred)
return res; return res;
} }
} // namespace clanguml::common::model::tvl; } // namespace clanguml::common::model::tvl

View File

@@ -21,8 +21,7 @@
#include <filesystem> #include <filesystem>
namespace clanguml { namespace clanguml::config {
namespace config {
config load(const std::string &config_file) config load(const std::string &config_file)
{ {
@@ -218,8 +217,7 @@ template <> void append_value<plantuml>(plantuml &l, const plantuml &r)
{ {
l.append(r); l.append(r);
} }
} // namespace config } // namespace clanguml::config
} // namespace clanguml
namespace YAML { namespace YAML {
using clanguml::common::model::access_t; using clanguml::common::model::access_t;

View File

@@ -22,8 +22,7 @@
#include <string> #include <string>
#include <string_view> #include <string_view>
namespace clanguml { namespace clanguml::decorators {
namespace decorators {
std::shared_ptr<decorator> decorator::from_string(std::string_view c) std::shared_ptr<decorator> decorator::from_string(std::string_view c)
{ {
@@ -208,5 +207,4 @@ std::vector<std::shared_ptr<decorator>> parse(
return res; return res;
}; };
} // namespace decorators } // namespace clanguml::decorators
} // namespace clanguml