Changeset 8c49c0e for src/InitTweak


Ignore:
Timestamp:
Sep 19, 2016, 4:39:33 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
aefcc3b
Parents:
3c13c03
Message:

decouple code that uses Type's forall list from std::list in preparation for trying to replace with a managed list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/GenInit.cc

    r3c13c03 r8c49c0e  
    288288                managedTypes.beginScope();
    289289                // go through assertions and recursively add seen ctor/dtors
    290                 for ( TypeDecl * tyDecl : functionDecl->get_functionType()->get_forall() ) {
     290                for ( auto & tyDecl : functionDecl->get_functionType()->get_forall() ) {
    291291                        for ( DeclarationWithType *& assertion : tyDecl->get_assertions() ) {
    292292                                assertion = assertion->acceptMutator( *this );
Note: See TracChangeset for help on using the changeset viewer.