Changeset 9617533 for src/AST/TypeSubstitution.hpp
- Timestamp:
- Sep 3, 2020, 4:28:16 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- a3ade94, ebb7b66
- Parents:
- 47dd0d2 (diff), 447b0d2b (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.hpp
r47dd0d2 r9617533 46 46 template< typename SynTreeClass > 47 47 struct ApplyResult { 48 // const SynTreeClass * node;49 48 ast::ptr<SynTreeClass> node; 50 49 int count; … … 187 186 assert( input ); 188 187 Pass<Substituter> sub( *this, false ); 189 // input = strict_dynamic_cast< const SynTreeClass * >( deepCopy(input)->accept( sub ) );190 188 input = strict_dynamic_cast< const SynTreeClass * >( input->accept( sub ) ); 191 189 return { input, sub.core.subCount }; … … 196 194 assert( input ); 197 195 Pass<Substituter> sub( *this, true ); 198 // input = strict_dynamic_cast< const SynTreeClass * >( deepCopy(input)->accept( sub ) );199 196 input = strict_dynamic_cast< const SynTreeClass * >( input->accept( sub ) ); 200 197 return { input, sub.core.subCount };
Note: See TracChangeset
for help on using the changeset viewer.