Changeset af5c204a for src/Common


Ignore:
Timestamp:
Jun 21, 2017, 11:47:32 AM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
06edda0
Parents:
4551a6e
Message:

remove UntypedValOfExpr? and hook in build for StmtExpr?

Location:
src/Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.h

    r4551a6e raf5c204a  
    9595        virtual void visit( ConstructorExpr * ctorExpr ) override final;
    9696        virtual void visit( CompoundLiteralExpr *compLitExpr ) override final;
    97         virtual void visit( UntypedValofExpr *valofExpr ) override final;
    9897        virtual void visit( RangeExpr *rangeExpr ) override final;
    9998        virtual void visit( UntypedTupleExpr *tupleExpr ) override final;
     
    181180        virtual Expression* mutate( ConstructorExpr *ctorExpr ) override final;
    182181        virtual Expression* mutate( CompoundLiteralExpr *compLitExpr ) override final;
    183         virtual Expression* mutate( UntypedValofExpr *valofExpr ) override final;
    184182        virtual Expression* mutate( RangeExpr *rangeExpr ) override final;
    185183        virtual Expression* mutate( UntypedTupleExpr *tupleExpr ) override final;
  • src/Common/PassVisitor.impl.h

    r4551a6e raf5c204a  
    607607template< typename pass_type >
    608608void PassVisitor< pass_type >::visit( CompoundLiteralExpr * node ) {
    609         VISIT_BODY( node );
    610 }
    611 
    612 template< typename pass_type >
    613 void PassVisitor< pass_type >::visit( UntypedValofExpr * node ) {
    614         VISIT_BODY( node );
     609        VISIT_BODY( node );
    615610}
    616611
     
    988983
    989984template< typename pass_type >
    990 Expression * PassVisitor< pass_type >::mutate( UntypedValofExpr * node ) {
    991         MUTATE_BODY( Expression, node );
    992 }
    993 
    994 template< typename pass_type >
    995985Expression * PassVisitor< pass_type >::mutate( RangeExpr * node ) {
    996986        MUTATE_BODY( Expression, node );
Note: See TracChangeset for help on using the changeset viewer.