Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/CandidateFinder.cpp

    r0bd3faf rfa761c2  
    6161namespace {
    6262        /// First index is which argument, second is which alternative, third is which exploded element
    63         using ExplodedArgs = std::deque< std::vector< ExplodedArg > >;
     63        using ExplodedArgs_new = std::deque< std::vector< ExplodedArg > >;
    6464
    6565        /// Returns a list of alternatives with the minimum cost in the given list
     
    255255
    256256                /// Gets the list of exploded candidates for this pack
    257                 const ExplodedArg & getExpl( const ExplodedArgs & args ) const {
     257                const ExplodedArg & getExpl( const ExplodedArgs_new & args ) const {
    258258                        return args[ nextArg-1 ][ explAlt ];
    259259                }
     
    281281        bool instantiateArgument(
    282282                const CodeLocation & location,
    283                 const ast::Type * paramType, const ast::Init * init, const ExplodedArgs & args,
     283                const ast::Type * paramType, const ast::Init * init, const ExplodedArgs_new & args,
    284284                std::vector< ArgPack > & results, std::size_t & genStart, const ast::SymbolTable & symtab,
    285285                unsigned nTuples = 0
     
    618618                        const CodeLocation & location,
    619619                        const CandidateRef & func, const ast::FunctionType * funcType,
    620                         const ExplodedArgs & args, CandidateList & out );
     620                        const ExplodedArgs_new & args, CandidateList & out );
    621621
    622622                /// Adds implicit struct-conversions to the alternative list
     
    737737                const CodeLocation & location,
    738738                const CandidateRef & func, const ast::FunctionType * funcType,
    739                 const ExplodedArgs & args, CandidateList & out
     739                const ExplodedArgs_new & args, CandidateList & out
    740740        ) {
    741741                ast::OpenVarSet funcOpen;
     
    997997
    998998                // pre-explode arguments
    999                 ExplodedArgs argExpansions;
     999                ExplodedArgs_new argExpansions;
    10001000                for ( const CandidateFinder & args : argCandidates ) {
    10011001                        argExpansions.emplace_back();
Note: See TracChangeset for help on using the changeset viewer.