Changeset a86b2ca6 for src/ResolvExpr


Ignore:
Timestamp:
Aug 5, 2020, 1:27:32 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
0019d77
Parents:
3251b66
Message:

Added Pass<...>::run which allows a pass to be constructed and run in one step. Even if nothing else is done with it given how often that is done I think this will eventually save code on its own.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/Resolver.cc

    r3251b66 ra86b2ca6  
    12701270
    12711271        void resolve( std::list< ast::ptr< ast::Decl > >& translationUnit ) {
    1272                 ast::Pass< Resolver_new > resolver;
    1273                 accept_all( translationUnit, resolver );
     1272                ast::Pass< Resolver_new >::run( translationUnit );
    12741273        }
    12751274
Note: See TracChangeset for help on using the changeset viewer.