Changeset 8c0d801 for src/AST/Node.hpp


Ignore:
Timestamp:
Jun 6, 2019, 3:40:56 PM (5 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1a4323e
Parents:
b7d92b96 (diff), 546e712 (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

    rb7d92b96 r8c0d801  
    206206        /// wrapper for convenient access to strict_dynamic_cast
    207207        template<typename o_node_t>
    208         const o_node_t * strict_as() const { return strict_dynamic_cast<const o_node_t *>(node); }
     208        const o_node_t * strict_as() const { _check(); return strict_dynamic_cast<const o_node_t *>(node); }
    209209
    210210        /// Returns a mutable version of the pointer in this node.
Note: See TracChangeset for help on using the changeset viewer.