Changeset 0a73148 for src/ResolvExpr
- Timestamp:
- Jul 13, 2018, 6:36: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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 6da49249
- Parents:
- 6b8b767 (diff), ae144af (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
-
AlternativeFinder.cc (modified) (2 diffs)
-
CommonType.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r6b8b767 r0a73148 482 482 template< typename ForwardIterator, typename OutputIterator > 483 483 void inferRecursive( ForwardIterator begin, ForwardIterator end, const Alternative &newAlt, OpenVarSet &openVars, const SymTab::Indexer &decls, const AssertionSet &newNeed, int level, const SymTab::Indexer &indexer, OutputIterator out ) { 484 if ( newAlt.cost == Cost::infinity ) return; // don't proceed down this dead end 484 485 if ( begin == end ) { 485 486 if ( newNeed.empty() ) { … … 1185 1186 std::cerr << "bindings are:" << std::endl; 1186 1187 withFunc.env.print( std::cerr, 8 ); 1188 std::cerr << "cost is: " << withFunc.cost << std::endl; 1187 1189 std::cerr << "cost of conversion is:" << cvtCost << std::endl; 1188 1190 ) -
src/ResolvExpr/CommonType.cc
r6b8b767 r0a73148 267 267 result = otherPointer->clone(); 268 268 } // if 269 result->get_qualifiers() = tq1 | tq2;269 strict_dynamic_cast<PointerType*>(result)->base->get_qualifiers() = tq1 | tq2; 270 270 } else { 271 271 /// std::cerr << "place for ptr-to-type" << std::endl; … … 304 304 result = otherRef->clone(); 305 305 } // if 306 result->get_qualifiers() = tq1 | tq2;306 strict_dynamic_cast<ReferenceType*>(result)->base->get_qualifiers() = tq1 | tq2; 307 307 } else { 308 308 /// std::cerr << "place for ptr-to-type" << std::endl;
Note:
See TracChangeset
for help on using the changeset viewer.