Changeset ef5ef56 for src/AST/Node.hpp


Ignore:
Timestamp:
May 22, 2019, 5:21:44 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
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:
5902625, 893e106
Parents:
dff6452 (diff), 8abee136 (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

    rdff6452 ref5ef56  
    115115        template<typename o_node_t>
    116116        ptr_base & operator=( const o_node_t * node ) {
    117                 assign(strict_dynamic_cast<const node_t *>(node));
     117                assign( node ? strict_dynamic_cast<const node_t *>(node) : nullptr );
    118118                return *this;
    119119        }
Note: See TracChangeset for help on using the changeset viewer.