Ignore:
Timestamp:
Jun 14, 2019, 11:56:12 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation
Children:
120a28c3
Parents:
21300d7
Message:

Removed non-moving assignment on ParamEntry? to help debugging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.h

    r21300d7 r462a7c7  
    3939/// but subject to decay-to-pointer and type parameter renaming
    4040struct ParamEntry {
    41         ParamEntry(): decl( 0 ), declptr(nullptr), actualType( 0 ), formalType( 0 ), expr( 0 )/*, inferParams( new InferredParams )*/ {}
    42         ParamEntry( UniqueId decl, Declaration * declptr, Type * actualType, Type * formalType, Expression* expr )
    43                 : decl( decl ), declptr( declptr ), actualType( actualType ), formalType( formalType ), expr( expr )/*, inferParams( new InferredParams )*/ {
    44         }
     41        ParamEntry(): decl( 0 ), declptr( nullptr ), actualType( nullptr ), formalType( nullptr ), expr( nullptr ) {}
     42        ParamEntry( UniqueId decl, Declaration * declptr, Type * actualType, Type * formalType, Expression* expr );
    4543        ParamEntry( const ParamEntry & other );
    4644        ParamEntry( ParamEntry && other );
    4745        ~ParamEntry();
    48         ParamEntry & operator=( const ParamEntry & other );
    4946        ParamEntry & operator=( ParamEntry && other );
    5047
     
    5451        Type * const formalType;
    5552        Expression * expr;
    56         // std::unique_ptr< InferredParams > inferParams;
    5753};
    5854
Note: See TracChangeset for help on using the changeset viewer.