Changes in src/SynTree/Expression.h [546e712:aaeacf4]
- File:
-
- 1 edited
-
src/SynTree/Expression.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
r546e712 raaeacf4 39 39 /// but subject to decay-to-pointer and type parameter renaming 40 40 struct ParamEntry { 41 ParamEntry(): decl( 0 ), actualType( 0 ), formalType( 0 ), expr( 0 )/*, inferParams( new InferredParams )*/ {} 42 ParamEntry( UniqueId decl, Type * actualType, Type * formalType, Expression* expr ): decl( decl ), actualType( actualType ), formalType( formalType ), expr( expr )/*, inferParams( new InferredParams )*/ {} 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 } 43 45 ParamEntry( const ParamEntry & other ); 44 46 ParamEntry( ParamEntry && other ); … … 47 49 ParamEntry & operator=( ParamEntry && other ); 48 50 49 UniqueId decl; 50 Type * actualType; 51 Type * formalType; 51 UniqueId const decl; 52 Declaration * const declptr; 53 Type * const actualType; 54 Type * const formalType; 52 55 Expression * expr; 53 56 // std::unique_ptr< InferredParams > inferParams;
Note:
See TracChangeset
for help on using the changeset viewer.