Fixed formatting

This commit is contained in:
Bartek Kryza
2022-12-11 23:33:40 +01:00
parent 8a167a5ccc
commit 62e4467665
5 changed files with 21 additions and 14 deletions

View File

@@ -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);

View File

@@ -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(