Changeset 768b3b4f for src/Common
- Timestamp:
- May 13, 2019, 2:01:20 PM (7 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, stuck-waitfor-destruct
- Children:
- 712348a, 9b81fed3
- Parents:
- b78129a (diff), 336d0b3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- src/Common
- Files:
-
- 2 edited
-
PassVisitor.impl.h (modified) (2 diffs)
-
PassVisitor.proto.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Common/PassVisitor.impl.h
rb78129a r768b3b4f 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
rb78129a r768b3b4f 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.