- Timestamp:
- May 28, 2019, 12:04:43 PM (5 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:
- 0d70e0d
- Parents:
- a7d50b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Convert.cpp
ra7d50b6 r2c04369 10 10 // Created On : Thu May 09 15::37::05 2019 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : T hu May 23 16:59:00 201913 // Update Count : 612 // Last Modified On : Tue May 28 12:00:00 2019 13 // Update Count : 7 14 14 // 15 15 … … 1341 1341 if ( ! old ) return nullptr; 1342 1342 old->accept(*this); 1343 return strict_dynamic_cast< NewT * >( node ); 1343 ast::Node * ret = node; 1344 node = nullptr; 1345 return strict_dynamic_cast< NewT * >( ret ); 1344 1346 } 1345 1347 … … 1354 1356 a->accept( *this ); 1355 1357 ret.emplace_back( strict_dynamic_cast< NewT * >(node) ); 1358 node = nullptr; 1356 1359 } 1357 1360 return ret; … … 1877 1880 GET_LABELS_V(old->labels) 1878 1881 ); 1882 cache.emplace( old, stmt ); 1883 stmt->callStmt = GET_ACCEPT_1(callStmt, Stmt); 1879 1884 this->node = stmt; 1880 cache.emplace( old, this->node );1881 stmt->callStmt = GET_ACCEPT_1(callStmt, Stmt);1882 1885 } 1883 1886
Note: See TracChangeset
for help on using the changeset viewer.