Fixed formatting

This commit is contained in:
Bartek Kryza
2022-02-24 22:17:35 +01:00
parent 1bde5d7039
commit ae9c516054
4 changed files with 5 additions and 9 deletions

View File

@@ -96,7 +96,8 @@ void class_::add_type_alias(type_alias &&ta)
type_aliases_[ta.alias()] = std::move(ta); type_aliases_[ta.alias()] = std::move(ta);
} }
std::string class_::full_name_no_ns() const { std::string class_::full_name_no_ns() const
{
using namespace clanguml::util; using namespace clanguml::util;
std::ostringstream ostr; std::ostringstream ostr;

View File

@@ -74,8 +74,7 @@ public:
bool is_abstract() const; bool is_abstract() const;
private: private:
std::ostringstream &render_template_params( std::ostringstream &render_template_params(std::ostringstream &ostr) const;
std::ostringstream &ostr) const;
bool is_struct_{false}; bool is_struct_{false};
bool is_template_{false}; bool is_template_{false};

View File

@@ -3,10 +3,7 @@ namespace t00036 {
namespace ns1 { namespace ns1 {
enum class E { enum class E { blue, yellow };
blue,
yellow
};
namespace ns11 { namespace ns11 {

View File

@@ -43,8 +43,7 @@ TEST_CASE("t00036", "[test-case][class]")
REQUIRE_THAT(puml, IsPackage("ns111")); REQUIRE_THAT(puml, IsPackage("ns111"));
REQUIRE_THAT(puml, IsPackage("ns22")); REQUIRE_THAT(puml, IsPackage("ns22"));
REQUIRE_THAT( REQUIRE_THAT(puml, IsAggregation(_A("B"), _A("A<int>"), "+a_int"));
puml, IsAggregation(_A("B"), _A("A<int>"), "+a_int"));
save_puml( save_puml(
"./" + config.output_directory() + "/" + diagram->name + ".puml", puml); "./" + config.output_directory() + "/" + diagram->name + ".puml", puml);