Ignore:
Timestamp:
Jun 11, 2019, 5:52:50 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
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
Message:

Port CandidateFinder::postvisit for UntypedExpr?, stub dependencies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r4b7cce6 r432ce7a  
    116116                /// Finds matching alternatives for a function, given a set of arguments
    117117                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 );
    119119                /// Sets up parameter inference for an output alternative
    120120                template< typename OutputIterator >
     
    593593
    594594                /// 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 {
    596596                        return args[nextArg-1][explAlt];
    597597                }
     
    617617        /// Instantiates an argument to match a formal, returns false if no results left
    618618        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,
    620620                        const SymTab::Indexer& indexer, unsigned nTuples = 0 ) {
    621621                if ( TupleType * tupleType = dynamic_cast<TupleType*>( formalType ) ) {
     
    889889        template<typename OutputIterator>
    890890        void AlternativeFinder::Finder::makeFunctionAlternatives( const Alternative &func,
    891                         FunctionType *funcType, const ExplodedArgs &args, OutputIterator out ) {
     891                        FunctionType *funcType, const ExplodedArgs_old &args, OutputIterator out ) {
    892892                OpenVarSet funcOpenVars;
    893893                AssertionSet funcNeed, funcHave;
     
    10211021
    10221022                // pre-explode arguments
    1023                 ExplodedArgs argExpansions;
     1023                ExplodedArgs_old argExpansions;
    10241024                argExpansions.reserve( argAlternatives.size() );
    10251025
Note: See TracChangeset for help on using the changeset viewer.