Changeset 5dd0704


Ignore:
Timestamp:
Jun 22, 2017, 4:32:38 PM (7 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:
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.