Ignore:
Timestamp:
May 28, 2019, 4:26:07 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
157a816, c786e1d, d76c588, ebc0a85
Parents:
c519942 (diff), 0d70e0d (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    rc519942 reba615c  
    1010// Created On       : Thu May 09 15::37::05 2019
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Thu May 23 16:59:00 2019
    13 // Update Count     : 6
     12// Last Modified On : Tue May 28 12:00:00 2019
     13// Update Count     : 7
    1414//
    1515
     
    13411341                if ( ! old ) return nullptr;
    13421342                old->accept(*this);
    1343                 return strict_dynamic_cast< NewT * >( node );
     1343                ast::Node * ret = node;
     1344                node = nullptr;
     1345                return strict_dynamic_cast< NewT * >( ret );
    13441346        }
    13451347
     
    13541356                        a->accept( *this );
    13551357                        ret.emplace_back( strict_dynamic_cast< NewT * >(node) );
     1358                        node = nullptr;
    13561359                }
    13571360                return ret;
     
    18771880                        GET_LABELS_V(old->labels)
    18781881                );
     1882                cache.emplace( old, stmt );
     1883                stmt->callStmt = GET_ACCEPT_1(callStmt, Stmt);
    18791884                this->node = stmt;
    1880                 cache.emplace( old, this->node );
    1881                 stmt->callStmt = GET_ACCEPT_1(callStmt, Stmt);
    18821885        }
    18831886
Note: See TracChangeset for help on using the changeset viewer.