- Timestamp:
- Nov 10, 2021, 7:23:12 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- b7fd9daf
- Parents:
- bb9924c
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Copy.hpp
rbb9924c rf95634e 88 88 } 89 89 90 void postvisit( const StmtExpr * node ) { 91 readonlyInsert( &node->resultExpr ); 92 } 93 90 94 void postvisit( const MemberExpr * node ) { 91 95 readonlyInsert( &node->member ); … … 122 126 node_t * deepCopy( const node_t * localRoot ) { 123 127 Pass< DeepCopyCore > dc; 124 node_t const * newRoot = localRoot->accept( dc);128 node_t const * newRoot = strict_dynamic_cast<node_t const*>(localRoot->accept( dc )); 125 129 dc.core.readonlyUpdates(); 126 130 return const_cast< node_t * >( newRoot ); -
src/AST/Expr.hpp
rbb9924c rf95634e 767 767 768 768 /// An expression which must only be evaluated once 769 class UniqueExpr final : public Expr { 769 class 770 UniqueExpr final : public Expr { 770 771 static unsigned long long nextId; 771 772 public:
Note: See TracChangeset
for help on using the changeset viewer.