Changeset d57e349 for src/ResolvExpr/Resolver.cc
- Timestamp:
- Jun 11, 2019, 1:36:00 PM (5 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:
- 3da7c19
- Parents:
- 396037d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r396037d rd57e349 957 957 } 958 958 }; 959 960 /// Check if this expression is or includes a deleted expression 961 const ast::DeletedExpr * findDeletedExpr( const ast::Expr * expr ) { 962 ast::Pass<DeleteFinder_new> finder; 963 expr->accept( finder ); 964 return finder.pass.delExpr; 965 } 966 959 } // anonymous namespace 960 961 /// Check if this expression is or includes a deleted expression 962 const ast::DeletedExpr * findDeletedExpr( const ast::Expr * expr ) { 963 ast::Pass<DeleteFinder_new> finder; 964 expr->accept( finder ); 965 return finder.pass.delExpr; 966 } 967 968 namespace { 967 969 /// always-accept candidate filter 968 970 bool anyCandidate( const Candidate & ) { return true; } … … 1024 1026 1025 1027 // promote candidate.cvtCost to .cost 1026 for ( CandidateRef & cand : winners ) { 1027 cand->cost = cand->cvtCost; 1028 } 1028 promoteCvtCost( winners ); 1029 1029 1030 1030 // produce ambiguous errors, if applicable
Note: See TracChangeset
for help on using the changeset viewer.