Changeset 893e106 for src/AST/Node.hpp


Ignore:
Timestamp:
May 22, 2019, 5:23:02 PM (3 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
722c4831
Parents:
76ed81f (diff), ef5ef56 (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/Node.hpp

    r76ed81f r893e106  
    121121        template<typename o_node_t>
    122122        ptr_base & operator=( const o_node_t * node ) {
    123                 assign(strict_dynamic_cast<const node_t *>(node));
     123                assign( node ? strict_dynamic_cast<const node_t *>(node) : nullptr );
    124124                return *this;
    125125        }
Note: See TracChangeset for help on using the changeset viewer.