Changeset 4eb43fa for src/ResolvExpr/RenameVars.cc
- Timestamp:
- Jul 22, 2019, 4:23:33 PM (5 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:
- 96ac72c
- Parents:
- f53acdf8 (diff), f6cc734e (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/ResolvExpr/RenameVars.cc
rf53acdf8 r4eb43fa 30 30 #include "SynTree/Type.h" // for Type, TypeInstType, TraitInstType 31 31 #include "SynTree/Visitor.h" // for acceptAll, maybeAccept 32 33 #include "AST/Copy.hpp" 32 34 33 35 namespace ResolvExpr { … … 172 174 173 175 const ast::Type * renameTyVars( const ast::Type * t ) { 176 ast::Type *tc = ast::deepCopy(t); 174 177 ast::Pass<RenameVars_new> renamer; 175 return t->accept( renamer ); 178 // return t->accept( renamer ); 179 return tc->accept( renamer ); 176 180 } 177 181
Note: See TracChangeset
for help on using the changeset viewer.