Changeset 5dd0704


Ignore:
Timestamp:
Jun 22, 2017, 4:32:38 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
ba915fb5
Parents:
9c90718
Message:

add GuardAction? interface routine to WithScopes?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/PassVisitor.h

    r9c90718 r5dd0704  
    302302                }, static_cast< void * >( & val ) );
    303303        }
     304
     305        template< typename Func >
     306        void GuardAction( Func&& func ) {
     307                at_cleanup( std::forward<Func>( func ) );
     308        }
    304309};
    305310
Note: See TracChangeset for help on using the changeset viewer.