Changeset d60780c for src/AST/Expr.hpp
- Timestamp:
- Jun 13, 2019, 8:28:13 AM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- d76f32c, dc5072f
- Parents:
- d7a02ae (diff), 21300d7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/AST/Expr.hpp ¶
rd7a02ae rd60780c 39 39 struct ParamEntry { 40 40 UniqueId decl; 41 ptr<Decl> declptr; 41 42 ptr<Type> actualType; 42 43 ptr<Type> formalType; 43 44 ptr<Expr> expr; 44 45 45 ParamEntry() : decl( 0 ), actualType( nullptr ), formalType( nullptr ), expr( nullptr ) {}46 ParamEntry( UniqueId id, Type* actual, Type* formal, Expr* e )47 : decl( id ), actualType( actual ), formalType( formal ), expr( e ) {}46 ParamEntry() : decl( 0 ), declptr( nullptr ), actualType( nullptr ), formalType( nullptr ), expr( nullptr ) {} 47 ParamEntry( UniqueId id, Decl * declptr, Type* actual, Type* formal, Expr* e ) 48 : decl( id ), declptr( declptr ), actualType( actual ), formalType( formal ), expr( e ) {} 48 49 }; 49 50 … … 137 138 } 138 139 139 /// splices other InferUnion into this one. Will fail if one union is in `Slots` mode 140 /// splices other InferUnion into this one. Will fail if one union is in `Slots` mode 140 141 /// and the other is in `Params`. 141 142 void splice( InferUnion && o ) { … … 145 146 146 147 if ( mode == Slots ){ 147 data.resnSlots.insert( 148 data.resnSlots.insert( 148 149 data.resnSlots.end(), o.data.resnSlots.begin(), o.data.resnSlots.end() ); 149 150 } else if ( mode == Params ) {
Note: See TracChangeset
for help on using the changeset viewer.