Changes in src/ResolvExpr/Resolver.cc [490fb92e:954c954]
- File:
-
- 1 edited
-
src/ResolvExpr/Resolver.cc (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/Resolver.cc
r490fb92e r954c954 1105 1105 } 1106 1106 1107 1108 } // anonymous namespace 1109 /// Establish post-resolver invariants for expressions 1107 /// Establish post-resolver invariants for expressions 1110 1108 void finishExpr( 1111 1109 ast::ptr< ast::Expr > & expr, const ast::TypeEnvironment & env, … … 1120 1118 StripCasts_new::strip( expr ); 1121 1119 } 1120 } // anonymous namespace 1121 1122 1122 1123 1123 ast::ptr< ast::Expr > resolveInVoidContext( … … 1139 1139 } 1140 1140 1141 /// Resolve `untyped` to the expression whose candidate is the best match for a `void` 1141 namespace { 1142 /// Resolve `untyped` to the expression whose candidate is the best match for a `void` 1142 1143 /// context. 1143 1144 ast::ptr< ast::Expr > findVoidExpression( … … 1150 1151 return newExpr; 1151 1152 } 1152 1153 namespace {1154 1155 1153 1156 1154 /// resolve `untyped` to the expression whose candidate satisfies `pred` with the … … 1164 1162 CandidateRef choice = 1165 1163 findUnfinishedKindExpression( untyped, symtab, kind, pred, mode ); 1166 ResolvExpr::finishExpr( choice->expr, choice->env, untyped->env );1164 finishExpr( choice->expr, choice->env, untyped->env ); 1167 1165 return std::move( choice->expr ); 1168 1166 }
Note:
See TracChangeset
for help on using the changeset viewer.