File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ DefaultHIRVisitor::walk (IfExpr &expr)
498
498
void
499
499
DefaultHIRVisitor::walk (IfExprConseqElse &expr)
500
500
{
501
- reinterpret_cast <IfExpr &> ( expr). accept_vis (*this );
501
+ expr. IfExpr :: accept_vis (*this );
502
502
expr.get_else_block ().accept_vis (*this );
503
503
}
504
504
@@ -749,23 +749,23 @@ DefaultHIRVisitor::walk (EnumItem &item)
749
749
void
750
750
DefaultHIRVisitor::walk (EnumItemTuple &item_tuple)
751
751
{
752
- reinterpret_cast <EnumItem &> ( item_tuple). accept_vis (*this );
752
+ item_tuple. EnumItem :: accept_vis (*this );
753
753
for (auto &field : item_tuple.get_tuple_fields ())
754
754
field.get_field_type ().accept_vis (*this );
755
755
}
756
756
757
757
void
758
758
DefaultHIRVisitor::walk (EnumItemStruct &item_struct)
759
759
{
760
- reinterpret_cast <EnumItem &> ( item_struct). accept_vis (*this );
760
+ item_struct. EnumItem :: accept_vis (*this );
761
761
for (auto &field : item_struct.get_struct_fields ())
762
762
field.get_field_type ().accept_vis (*this );
763
763
}
764
764
765
765
void
766
766
DefaultHIRVisitor::walk (EnumItemDiscriminant &item)
767
767
{
768
- reinterpret_cast <EnumItem &> ( item). accept_vis (*this );
768
+ item. EnumItem :: accept_vis (*this );
769
769
item.get_discriminant_expression ().accept_vis (*this );
770
770
}
771
771
You can’t perform that action at this time.
0 commit comments