Changeset 9a19608 for src/AST/Node.hpp


Ignore:
Timestamp:
Jun 4, 2019, 4:49:30 PM (5 years ago)
Author:
Michael Brooks <mlbrooks@…>
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:
9519aba
Parents:
1867c96 (diff), de8dfac2 (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

    r1867c96 r9a19608  
    166166        const o_node_t * as() const { return dynamic_cast<const o_node_t *>(node); }
    167167
     168        /// wrapper for convenient access to strict_dynamic_cast
     169        template<typename o_node_t>
     170        const o_node_t * strict_as() const { return strict_dynamic_cast<const o_node_t *>(node); }
     171
    168172        /// Returns a mutable version of the pointer in this node.
    169173        node_t * get_and_mutate();
Note: See TracChangeset for help on using the changeset viewer.