Changes in / [b29f8f3:51b986f]


Ignore:
Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    rb29f8f3 r51b986f  
    697697                        std::list< Type* >::iterator candidate_end = (*i).expr->get_results().begin();
    698698                        std::advance( candidate_end, castExpr->get_results().size() );
     699                        if ( ! unifyList( (*i).expr->get_results().begin(), candidate_end,
     700                                                         castExpr->get_results().begin(), castExpr->get_results().end(), i->env, needAssertions, haveAssertions, openVars, indexer ) ) continue;
    699701                        Cost thisCost = castCostList( (*i).expr->get_results().begin(), candidate_end,
    700702                                                                                  castExpr->get_results().begin(), castExpr->get_results().end(), indexer, i->env );
  • src/SymTab/Validate.cc

    rb29f8f3 r51b986f  
    162162        class EliminateTypedef : public Mutator {
    163163          public:
    164           EliminateTypedef() : scopeLevel( 0 ) {}
    165             /// Replaces typedefs by forward declarations
     164                EliminateTypedef() : scopeLevel( 0 ) {}
    166165                static void eliminateTypedef( std::list< Declaration * > &translationUnit );
    167166          private:
     
    543542                std::list<Statement *> initList;
    544543                initList.push_back( initStmt );
    545  
     544
    546545                UntypedExpr *cond = new UntypedExpr( new NameExpr( "?<?" ) );
    547546                cond->get_args().push_back( new VariableExpr( index ) );
     
    618617
    619618                // need to remove the prototypes, since this may be nested in a routine
    620                 for (int start = 0, end = assigns.size()/2; start < end; start++) {
     619                for ( int start = 0, end = assigns.size() / 2; start < end; start++ ) {
    621620                        delete assigns.front();
    622621                        assigns.pop_front();
     
    961960        }
    962961
    963                 Declaration *EliminateTypedef::mutate( ContextDecl * contextDecl ) {
     962        Declaration *EliminateTypedef::mutate( ContextDecl * contextDecl ) {
    964963                Mutator::mutate( contextDecl );
    965964                return handleAggregate( contextDecl );
Note: See TracChangeset for help on using the changeset viewer.