File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -497,7 +497,7 @@ DefaultHIRVisitor::walk (IfExpr &expr)
497497void
498498DefaultHIRVisitor::walk (IfExprConseqElse &expr)
499499{
500- reinterpret_cast <IfExpr &> ( expr). accept_vis (*this );
500+ expr. IfExpr :: accept_vis (*this );
501501 expr.get_else_block ().accept_vis (*this );
502502}
503503
@@ -742,23 +742,23 @@ DefaultHIRVisitor::walk (EnumItem &item)
742742void
743743DefaultHIRVisitor::walk (EnumItemTuple &item_tuple)
744744{
745- reinterpret_cast <EnumItem &> ( item_tuple). accept_vis (*this );
745+ item_tuple. EnumItem :: accept_vis (*this );
746746 for (auto &field : item_tuple.get_tuple_fields ())
747747 field.get_field_type ().accept_vis (*this );
748748}
749749
750750void
751751DefaultHIRVisitor::walk (EnumItemStruct &item_struct)
752752{
753- reinterpret_cast <EnumItem &> ( item_struct). accept_vis (*this );
753+ item_struct. EnumItem :: accept_vis (*this );
754754 for (auto &field : item_struct.get_struct_fields ())
755755 field.get_field_type ().accept_vis (*this );
756756}
757757
758758void
759759DefaultHIRVisitor::walk (EnumItemDiscriminant &item)
760760{
761- reinterpret_cast <EnumItem &> ( item). accept_vis (*this );
761+ item. EnumItem :: accept_vis (*this );
762762 item.get_discriminant_expression ().accept_vis (*this );
763763}
764764
You can’t perform that action at this time.
0 commit comments