Changeset 4864a73 for src/AST/Node.cpp


Ignore:
Timestamp:
Jun 5, 2019, 4:28:28 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
0ce063b
Parents:
2a8f0c1
Message:

Added chain mutation and example use in resolver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Node.cpp

    r2a8f0c1 r4864a73  
    3434template< typename node_t, enum ast::Node::ref_type ref_t >
    3535void ast::ptr_base<node_t, ref_t>::_dec( const node_t * node ) { node->decrement(ref_t); }
     36
     37template< typename node_t, enum ast::Node::ref_type ref_t >
     38void ast::ptr_base<node_t, ref_t>::_check() const { if(node) assert(node->was_ever_strong == false || node->strong_count > 0); }
    3639
    3740template< typename node_t, enum ast::Node::ref_type ref_t >
Note: See TracChangeset for help on using the changeset viewer.