Changeset 8d182b1 for src/ResolvExpr/CandidateFinder.cpp
- Timestamp:
- Nov 14, 2023, 12:19:09 PM (23 months ago)
- Branches:
- master
- Children:
- 1ccae59, 89a8bab
- Parents:
- df8ba61a (diff), 5625427 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CandidateFinder.cpp
rdf8ba61a r8d182b1 61 61 namespace { 62 62 /// First index is which argument, second is which alternative, third is which exploded element 63 using ExplodedArgs _new= std::deque< std::vector< ExplodedArg > >;63 using ExplodedArgs = std::deque< std::vector< ExplodedArg > >; 64 64 65 65 /// Returns a list of alternatives with the minimum cost in the given list … … 255 255 256 256 /// Gets the list of exploded candidates for this pack 257 const ExplodedArg & getExpl( const ExplodedArgs _new& args ) const {257 const ExplodedArg & getExpl( const ExplodedArgs & args ) const { 258 258 return args[ nextArg-1 ][ explAlt ]; 259 259 } … … 281 281 bool instantiateArgument( 282 282 const CodeLocation & location, 283 const ast::Type * paramType, const ast::Init * init, const ExplodedArgs _new& args,283 const ast::Type * paramType, const ast::Init * init, const ExplodedArgs & args, 284 284 std::vector< ArgPack > & results, std::size_t & genStart, const ast::SymbolTable & symtab, 285 285 unsigned nTuples = 0 … … 618 618 const CodeLocation & location, 619 619 const CandidateRef & func, const ast::FunctionType * funcType, 620 const ExplodedArgs _new& args, CandidateList & out );620 const ExplodedArgs & args, CandidateList & out ); 621 621 622 622 /// Adds implicit struct-conversions to the alternative list … … 737 737 const CodeLocation & location, 738 738 const CandidateRef & func, const ast::FunctionType * funcType, 739 const ExplodedArgs _new& args, CandidateList & out739 const ExplodedArgs & args, CandidateList & out 740 740 ) { 741 741 ast::OpenVarSet funcOpen; … … 997 997 998 998 // pre-explode arguments 999 ExplodedArgs _newargExpansions;999 ExplodedArgs argExpansions; 1000 1000 for ( const CandidateFinder & args : argCandidates ) { 1001 1001 argExpansions.emplace_back();
Note:
See TracChangeset
for help on using the changeset viewer.