Fixed clang-tidy warnings

This commit is contained in:
Bartek Kryza
2024-01-02 23:17:32 +01:00
parent eec73a79e8
commit da7870f50f
43 changed files with 188 additions and 226 deletions

View File

@@ -116,7 +116,7 @@ bool translation_unit_visitor::VisitEnumDecl(clang::EnumDecl *enm)
const auto *parent = enm->getParent();
std::optional<common::model::diagram_element::id_t> id_opt;
std::optional<common::id_t> id_opt;
if (parent != nullptr) {
const auto *parent_record_decl =
@@ -863,7 +863,7 @@ void translation_unit_visitor::process_record_parent(
{
const auto *parent = cls->getParent();
std::optional<common::model::diagram_element::id_t> id_opt;
std::optional<common::id_t> id_opt;
auto parent_ns = ns;
if (parent != nullptr) {