Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.h

    r9a705dc8 rcdb990a  
    4141        ParamEntry( UniqueId decl, Type * actualType, Type * formalType, Expression* expr ): decl( decl ), actualType( actualType ), formalType( formalType ), expr( expr ), inferParams( new InferredParams ) {}
    4242        ParamEntry( const ParamEntry & other );
     43        ParamEntry( ParamEntry && other );
    4344        ~ParamEntry();
    4445        ParamEntry & operator=( const ParamEntry & other );
     46        ParamEntry & operator=( ParamEntry && other );
    4547
    4648        UniqueId decl;
     
    7375
    7476        InferredParams & get_inferParams() { return inferParams; }
     77
     78        // move other's inferParams to this
     79        void spliceInferParams( Expression * other );
    7580
    7681        virtual Expression * clone() const override = 0;
Note: See TracChangeset for help on using the changeset viewer.