Fixed formatting
This commit is contained in:
@@ -275,7 +275,8 @@ template <> struct convert<sequence_diagram> {
|
||||
return false;
|
||||
|
||||
if (node["start_from"])
|
||||
rhs.start_from = node["start_from"].as<std::vector<source_location>>();
|
||||
rhs.start_from =
|
||||
node["start_from"].as<std::vector<source_location>>();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
#include "sequence_diagram/visitor/translation_unit_visitor.h"
|
||||
#include "util/util.h"
|
||||
|
||||
#include <glob/glob.hpp>
|
||||
#include <cppast/libclang_parser.hpp>
|
||||
#include <glob/glob.hpp>
|
||||
|
||||
#include <filesystem>
|
||||
#include <fstream>
|
||||
|
||||
@@ -86,7 +86,6 @@ void translation_unit_visitor::process_activities(const cppast::cpp_function &e)
|
||||
if (caller.kind() == cpp_entity_kind::function_t)
|
||||
m.from += "()";
|
||||
|
||||
|
||||
m.from_usr = type_safe::get(function_call.get_caller_method_id());
|
||||
|
||||
const auto &callee =
|
||||
|
||||
@@ -48,8 +48,10 @@ TEST_CASE("t00034", "[test-case][class]")
|
||||
REQUIRE_THAT(puml, IsClass(_A("A")));
|
||||
REQUIRE_THAT(puml, IsClass(_A("R")));
|
||||
|
||||
REQUIRE_THAT(puml, IsInstantiation(_A("lift_void<T>"), _A("lift_void<void>")));
|
||||
REQUIRE_THAT(puml, IsInstantiation(_A("drop_void<T>"), _A("drop_void<Void>")));
|
||||
REQUIRE_THAT(
|
||||
puml, IsInstantiation(_A("lift_void<T>"), _A("lift_void<void>")));
|
||||
REQUIRE_THAT(
|
||||
puml, IsInstantiation(_A("drop_void<T>"), _A("drop_void<Void>")));
|
||||
|
||||
save_puml(
|
||||
"./" + config.output_directory + "/" + diagram->name + ".puml", puml);
|
||||
|
||||
Reference in New Issue
Block a user