- Timestamp:
- Jun 4, 2020, 3:50:57 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 52a4d69, 73973b6
- Parents:
- bcd74f3
- Location:
- src/AST
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Copy.hpp
rbcd74f3 r5c9b20c 13 13 // Update Count : 0 14 14 // 15 16 #pragma once 15 17 16 18 #include "Decl.hpp" -
src/AST/TypeSubstitution.hpp
rbcd74f3 r5c9b20c 153 153 // PassVisitor are defined before PassVisitor implementation accesses TypeSubstitution internals. 154 154 #include "Pass.hpp" 155 #include "Copy.hpp" 155 156 156 157 namespace ast { … … 184 185 assert( input ); 185 186 Pass<Substituter> sub( *this, false ); 186 input = strict_dynamic_cast< const SynTreeClass * >( input->accept( sub ) );187 input = strict_dynamic_cast< const SynTreeClass * >( deepCopy(input)->accept( sub ) ); 187 188 return { input, sub.pass.subCount }; 188 189 }
Note: See TracChangeset
for help on using the changeset viewer.