Changeset 8f9cc50 for src/ResolvExpr
- Timestamp:
- Nov 11, 2016, 1:31:34 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 33a7b6d
- Parents:
- 30b65d8 (diff), 668e971a (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. - Location:
- src/ResolvExpr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/ResolvExpr/AlternativeFinder.cc ¶
r30b65d8 r8f9cc50 1004 1004 AssertionSet needAssertions, haveAssertions; 1005 1005 Alternative newAlt( 0, third->env, first->cost + second->cost + third->cost ); 1006 Type* commonType ;1006 Type* commonType = nullptr; 1007 1007 if ( unify( second->expr->get_result(), third->expr->get_result(), newAlt.env, needAssertions, haveAssertions, openVars, indexer, commonType ) ) { 1008 1008 ConditionalExpr *newExpr = new ConditionalExpr( first->expr->clone(), second->expr->clone(), third->expr->clone() ); -
TabularUnified src/ResolvExpr/Resolver.cc ¶
r30b65d8 r8f9cc50 72 72 Type * functionReturn = nullptr; 73 73 Type *initContext = nullptr; 74 Type *switchType = nullptr;75 74 bool inEnumDecl = false; 76 75 };
Note: See TracChangeset
for help on using the changeset viewer.