- Timestamp:
- May 10, 2019, 2:48:09 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 1f93c2c
- Parents:
- 04124c4
- Location:
- src/Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
r04124c4 r37e3af4 168 168 template< typename Container, typename pass_type > 169 169 inline void maybeMutate_impl( Container & container, PassVisitor< pass_type > & mutator ) { 170 170 171 if ( ! mutator.get_visit_children() ) return; 171 172 SemanticErrorException errors; … … 217 218 try { 218 219 func( *i ); 220 assert( *i ); 219 221 assert(( empty( beforeStmts ) && empty( afterStmts )) 220 222 || ( empty( beforeDecls ) && empty( afterDecls )) ); -
src/Common/PassVisitor.proto.h
r04124c4 r37e3af4 222 222 INDEXER_FUNC2( addWith , std::list< Expression * > &, BaseSyntaxNode * ); 223 223 224 #undef INDEXER_FUNC1 225 #undef INDEXER_FUNC2 224 226 225 227 template<typename pass_type>
Note: See TracChangeset
for help on using the changeset viewer.