Fixed formatting
This commit is contained in:
@@ -78,7 +78,7 @@ public:
|
|||||||
|
|
||||||
void add_active_participant(common::model::diagram_element::id_t id);
|
void add_active_participant(common::model::diagram_element::id_t id);
|
||||||
|
|
||||||
activity& get_activity(common::model::diagram_element::id_t id);
|
activity &get_activity(common::model::diagram_element::id_t id);
|
||||||
|
|
||||||
void add_if_stmt(common::model::diagram_element::id_t current_caller_id,
|
void add_if_stmt(common::model::diagram_element::id_t current_caller_id,
|
||||||
common::model::message_t type);
|
common::model::message_t type);
|
||||||
|
|||||||
@@ -336,8 +336,8 @@ bool translation_unit_visitor::VisitCXXMethodDecl(clang::CXXMethodDecl *m)
|
|||||||
|
|
||||||
set_unique_id(m->getID(), m_ptr->id()); // This is probably not necessary?
|
set_unique_id(m->getID(), m_ptr->id()); // This is probably not necessary?
|
||||||
|
|
||||||
LOG_TRACE("Set id {} --> {} for method name {} [{}]", m->getID(), m_ptr->id(),
|
LOG_TRACE("Set id {} --> {} for method name {} [{}]", m->getID(),
|
||||||
method_full_name, m->isThisDeclarationADefinition());
|
m_ptr->id(), method_full_name, m->isThisDeclarationADefinition());
|
||||||
|
|
||||||
context().update(m);
|
context().update(m);
|
||||||
|
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ void setup_logging(int verbose)
|
|||||||
if (verbose == 0) {
|
if (verbose == 0) {
|
||||||
console->set_level(spdlog::level::err);
|
console->set_level(spdlog::level::err);
|
||||||
}
|
}
|
||||||
else if(verbose == 1) {
|
else if (verbose == 1) {
|
||||||
console->set_level(spdlog::level::info);
|
console->set_level(spdlog::level::info);
|
||||||
}
|
}
|
||||||
else if(verbose == 2) {
|
else if (verbose == 2) {
|
||||||
console->set_level(spdlog::level::debug);
|
console->set_level(spdlog::level::debug);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -82,19 +82,26 @@ template <typename T, typename... Ts> constexpr bool has_type() noexcept
|
|||||||
return (std::is_same_v<T, Ts> || ... || false);
|
return (std::is_same_v<T, Ts> || ... || false);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct Public { };
|
struct Public {
|
||||||
|
};
|
||||||
|
|
||||||
struct Protected { };
|
struct Protected {
|
||||||
|
};
|
||||||
|
|
||||||
struct Private { };
|
struct Private {
|
||||||
|
};
|
||||||
|
|
||||||
struct Abstract { };
|
struct Abstract {
|
||||||
|
};
|
||||||
|
|
||||||
struct Static { };
|
struct Static {
|
||||||
|
};
|
||||||
|
|
||||||
struct Const { };
|
struct Const {
|
||||||
|
};
|
||||||
|
|
||||||
struct Default { };
|
struct Default {
|
||||||
|
};
|
||||||
|
|
||||||
struct HasCallWithResultMatcher : ContainsMatcher {
|
struct HasCallWithResultMatcher : ContainsMatcher {
|
||||||
HasCallWithResultMatcher(
|
HasCallWithResultMatcher(
|
||||||
|
|||||||
Reference in New Issue
Block a user