Changeset 490fb92e for src/AST/Pass.hpp


Ignore:
Timestamp:
Oct 23, 2020, 9:06:16 PM (15 months ago)
Author:
Fangren Yu <f37yu@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
37b7d95
Parents:
41b8ea4
Message:

move FixInit? to new ast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    r41b8ea4 r490fb92e  
    236236        const ast::Expr * call_accept( const ast::Expr * );
    237237
     238        // requests WithStmtsToAdd directly add to this statement, as if it is a compound.
     239
     240        const ast::Stmt * call_accept_as_compound(const ast::Stmt *);
     241
    238242        template< typename node_t >
    239243        auto call_accept( const node_t * node ) -> typename std::enable_if<
     
    257261        template<typename node_t, typename parent_t, typename child_t>
    258262        void maybe_accept(const node_t * &, child_t parent_t::* child);
     263
     264        template<typename node_t, typename parent_t, typename child_t>
     265        void maybe_accept_as_compound(const node_t * &, child_t parent_t::* child);
    259266
    260267private:
Note: See TracChangeset for help on using the changeset viewer.