Changeset 432ce7a for src/ResolvExpr/AlternativeFinder.cc
- Timestamp:
- Jun 11, 2019, 5:52:50 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:
- 6625727
- Parents:
- 4b7cce6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/AlternativeFinder.cc
r4b7cce6 r432ce7a 116 116 /// Finds matching alternatives for a function, given a set of arguments 117 117 template<typename OutputIterator> 118 void makeFunctionAlternatives( const Alternative &func, FunctionType *funcType, const ExplodedArgs & args, OutputIterator out );118 void makeFunctionAlternatives( const Alternative &func, FunctionType *funcType, const ExplodedArgs_old& args, OutputIterator out ); 119 119 /// Sets up parameter inference for an output alternative 120 120 template< typename OutputIterator > … … 593 593 594 594 /// Gets the list of exploded alternatives for this pack 595 const ExplodedActual& getExpl( const ExplodedArgs & args ) const {595 const ExplodedActual& getExpl( const ExplodedArgs_old& args ) const { 596 596 return args[nextArg-1][explAlt]; 597 597 } … … 617 617 /// Instantiates an argument to match a formal, returns false if no results left 618 618 bool instantiateArgument( Type* formalType, Initializer* initializer, 619 const ExplodedArgs & args, std::vector<ArgPack>& results, std::size_t& genStart,619 const ExplodedArgs_old& args, std::vector<ArgPack>& results, std::size_t& genStart, 620 620 const SymTab::Indexer& indexer, unsigned nTuples = 0 ) { 621 621 if ( TupleType * tupleType = dynamic_cast<TupleType*>( formalType ) ) { … … 889 889 template<typename OutputIterator> 890 890 void AlternativeFinder::Finder::makeFunctionAlternatives( const Alternative &func, 891 FunctionType *funcType, const ExplodedArgs &args, OutputIterator out ) {891 FunctionType *funcType, const ExplodedArgs_old &args, OutputIterator out ) { 892 892 OpenVarSet funcOpenVars; 893 893 AssertionSet funcNeed, funcHave; … … 1021 1021 1022 1022 // pre-explode arguments 1023 ExplodedArgs argExpansions;1023 ExplodedArgs_old argExpansions; 1024 1024 argExpansions.reserve( argAlternatives.size() ); 1025 1025
Note: See TracChangeset
for help on using the changeset viewer.