Changeset 7ff3e522 for src/ResolvExpr
- Timestamp:
- Aug 12, 2020, 10:31:58 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- f8d05ee
- Parents:
- 343d10e
- Location:
- src/ResolvExpr
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.cpp
r343d10e r7ff3e522 1590 1590 1591 1591 if ( mode.failFast && candidates.empty() ) { 1592 switch(finder. pass.reason.code) {1592 switch(finder.core.reason.code) { 1593 1593 case Finder::NotFound: 1594 1594 { SemanticError( expr, "No alternatives for expression " ); break; } -
src/ResolvExpr/CastCost.cc
r343d10e r7ff3e522 242 242 dst, srcIsLvalue, symtab, env, localCastCost ); 243 243 src->accept( converter ); 244 return converter. pass.cost;244 return converter.core.cost; 245 245 } 246 246 } -
src/ResolvExpr/CommonType.cc
r343d10e r7ff3e522 968 968 ast::Pass<CommonType_new> visitor{ type2, widen, symtab, env, open }; 969 969 type1->accept( visitor ); 970 ast::ptr< ast::Type > result = visitor. pass.result;970 ast::ptr< ast::Type > result = visitor.core.result; 971 971 972 972 // handling for opaque type declarations (?) -
src/ResolvExpr/ConversionCost.cc
r343d10e r7ff3e522 522 522 ast::Pass<ConversionCost_new> converter( dst, srcIsLvalue, symtab, env, localConversionCost ); 523 523 src->accept( converter ); 524 return converter. pass.cost;524 return converter.core.cost; 525 525 } 526 526 } … … 565 565 ast::Pass<ConversionCost_new> converter( dst, srcIsLvalue, symtab, env, localConversionCost ); 566 566 src->accept( converter ); 567 return converter. pass.cost;567 return converter.core.cost; 568 568 } 569 569 } else { -
src/ResolvExpr/PolyCost.cc
r343d10e r7ff3e522 87 87 ast::Pass<PolyCost_new> costing( symtab, env ); 88 88 type->accept( costing ); 89 return costing. pass.result;89 return costing.core.result; 90 90 } 91 91 -
src/ResolvExpr/PtrsAssignable.cc
r343d10e r7ff3e522 155 155 ast::Pass<PtrsAssignable_new> visitor( dst, env ); 156 156 src->accept( visitor ); 157 return visitor. pass.result;157 return visitor.core.result; 158 158 } 159 159 -
src/ResolvExpr/PtrsCastable.cc
r343d10e r7ff3e522 293 293 ast::Pass< PtrsCastable_new > ptrs{ dst, env, symtab }; 294 294 src->accept( ptrs ); 295 return ptrs. pass.result;295 return ptrs.core.result; 296 296 } 297 297 } -
src/ResolvExpr/Resolver.cc
r343d10e r7ff3e522 982 982 ast::Pass<DeleteFinder_new> finder; 983 983 expr->accept( finder ); 984 return finder. pass.delExpr;984 return finder.core.delExpr; 985 985 } 986 986 -
src/ResolvExpr/SpecCost.cc
r343d10e r7ff3e522 217 217 } 218 218 ast::Pass<SpecCounter> counter; 219 type->accept( *counter.pass.visitor );220 return counter. pass.get_count();219 type->accept( counter ); 220 return counter.core.get_count(); 221 221 } 222 222 -
src/ResolvExpr/Unify.cc
r343d10e r7ff3e522 1185 1185 ast::Pass<Unify_new> comparator{ type2, env, need, have, open, widen, symtab }; 1186 1186 type1->accept( comparator ); 1187 return comparator. pass.result;1187 return comparator.core.result; 1188 1188 } 1189 1189 }
Note: See TracChangeset
for help on using the changeset viewer.