Skip to content

Commit

Permalink
cg: Remove obsolete class bases emition.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Oct 27, 2023
1 parent e2f00f1 commit bd59b89
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions include/vast/CodeGen/CodeGenDeclVisitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,21 +750,6 @@ namespace vast::cg {
}
};

if constexpr (std::is_same_v< Decl, clang::CXXRecordDecl >) {
auto bases = [&](auto &bld, auto loc) {
for (auto &base : decl->bases()) {
auto loc = meta_location(base);
make< hl::CxxBaseSpecifierOp >(
loc,
visit(base.getType()),
convert_access(base.getAccessSpecifier()),
base.isVirtual());
}
};

return make< Op >(loc, name, bases, fields);
}

return make< Op >(loc, name, fields);
}

Expand Down

0 comments on commit bd59b89

Please sign in to comment.