Changeset 093f1a0


Ignore:
Timestamp:
Jul 30, 2015, 3:56:42 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
f678663e
Parents:
7f5566b (diff), b29f8f3 (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.
Message:

Merge branch 'master' of plg2:software/cfa/cfa-cc

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    r7f5566b r093f1a0  
    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;
    701699                        Cost thisCost = castCostList( (*i).expr->get_results().begin(), candidate_end,
    702700                                                                                  castExpr->get_results().begin(), castExpr->get_results().end(), indexer, i->env );
  • src/SymTab/Validate.cc

    r7f5566b r093f1a0  
    162162        class EliminateTypedef : public Mutator {
    163163          public:
    164                 EliminateTypedef() : scopeLevel( 0 ) {}
     164          EliminateTypedef() : scopeLevel( 0 ) {}
     165            /// Replaces typedefs by forward declarations
    165166                static void eliminateTypedef( std::list< Declaration * > &translationUnit );
    166167          private:
     
    542543                std::list<Statement *> initList;
    543544                initList.push_back( initStmt );
    544 
     545 
    545546                UntypedExpr *cond = new UntypedExpr( new NameExpr( "?<?" ) );
    546547                cond->get_args().push_back( new VariableExpr( index ) );
     
    617618
    618619                // need to remove the prototypes, since this may be nested in a routine
    619                 for ( int start = 0, end = assigns.size() / 2; start < end; start++ ) {
     620                for (int start = 0, end = assigns.size()/2; start < end; start++) {
    620621                        delete assigns.front();
    621622                        assigns.pop_front();
     
    960961        }
    961962
    962         Declaration *EliminateTypedef::mutate( ContextDecl * contextDecl ) {
     963                Declaration *EliminateTypedef::mutate( ContextDecl * contextDecl ) {
    963964                Mutator::mutate( contextDecl );
    964965                return handleAggregate( contextDecl );
Note: See TracChangeset for help on using the changeset viewer.