Ignore:
Timestamp:
Jun 8, 2023, 3:19:43 PM (12 months ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT
Parents:
044ae62
Message:

Finish Adt POC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.h

    r044ae62 rfa2c005  
    226226        virtual void visit( StructInstType * aggregateUseType ) override final;
    227227        virtual void visit( const StructInstType * aggregateUseType ) override final;
     228        virtual void visit( AdtInstType * aggregateUseType ) override final;
     229        virtual void visit( const AdtInstType * aggregateUseType ) override final;
    228230        virtual void visit( UnionInstType * aggregateUseType ) override final;
    229231        virtual void visit( const UnionInstType * aggregateUseType ) override final;
     
    351353        virtual Type * mutate( FunctionType * functionType ) override final;
    352354        virtual Type * mutate( StructInstType * aggregateUseType ) override final;
     355        virtual Type * mutate( AdtInstType * aggregateUseType ) override final;
    353356        virtual Type * mutate( UnionInstType * aggregateUseType ) override final;
    354357        virtual Type * mutate( EnumInstType * aggregateUseType ) override final;
     
    442445        void indexerAddStructFwd( const StructDecl          * node  ) { indexer_impl_addStructFwd( pass, 0, node ); }
    443446        void indexerAddEnum     ( const EnumDecl            * node  ) { indexer_impl_addEnum     ( pass, 0, node ); }
     447        void indexerAddAdt              ( const std::string                     & id    ) { indexer_impl_addAdt      ( pass, 0, id   ); }
    444448        void indexerAddAdt              ( const AdtDecl                         * node  ) { indexer_impl_addAdt          ( pass, 0, node ); }
    445449        void indexerAddAdtFwd   ( const AdtDecl                         * node  ) { indexer_impl_addAdtFwd   ( pass, 0, node  ); }
Note: See TracChangeset for help on using the changeset viewer.