Changeset be567e9 for src/AST/Node.hpp


Ignore:
Timestamp:
May 15, 2019, 10:15:52 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
54db6ba, 69bafd2
Parents:
6d51bd7 (diff), 62315a0 (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

    r6d51bd7 rbe567e9  
    139139        operator const node_t * const() const { return node; }
    140140
     141        template<typename o_node_t>
     142        const o_node_t * as() const { return dynamic_cast<o_node_t *>(node); }
     143
    141144        using ptr = const node_t *;
    142145
Note: See TracChangeset for help on using the changeset viewer.