Ignore:
Timestamp:
Dec 13, 2016, 4:13:08 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
7933351
Parents:
f7e749f
Message:

fixed StmtExpr? code in PolyMutator?, added missing copy constructor, misc documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/VarExprReplacer.cc

    rf7e749f rfc638d2  
    2121// replace variable with new node from decl map
    2222void VarExprReplacer::visit( VariableExpr * varExpr ) {
     23  // xxx - assertions and parameters aren't accounted for in this... (i.e. they aren't inserted into the map when it's made, only DeclStmts are)
    2324  if ( declMap.count( varExpr->get_var() ) ) {
    2425    varExpr->set_var( declMap.at( varExpr->get_var() ) );
Note: See TracChangeset for help on using the changeset viewer.