Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/porting.md

    rd8938622 r9b4f329  
    3838
    3939`N->print(std::ostream&)` is a visitor now, port these methods to `ast::Print` class
    40 * **TODO** `Declaration::printShort` should also be integrated
     40* **TODO** write this visitor
     41* **TODO** write `std::ostream& operator<< ( std::ostream& out, const Node* node )` in `Node.hpp` in terms of `ast::Print`
     42* `Declaration::printShort` should also be integrated
    4143
    4244`clone` is private to `Node` now
     
    4648      /// Must be copied in ALL derived classes
    4749      template<typename node_t>
    48       friend node_t * mutate(const node_t * node);
     50      friend auto mutate(const node_t * node);
    4951
    5052All leaves of the `Node` inheritance tree are now declared `final`
     
    206208
    207209`CompoundStmt`
     210* **TODO** port copy operator
     211  * Needs to be an almost-shallow clone, where the declarations are cloned only if needed
     212  * **TODO** port `DeclReplacer`
    208213* Still a `std::list` for children, rather than `std::vector`
    209214  * allows more-efficient splicing for purposes of later code generation
     
    224229  * `getAggr()` => `aggr()`
    225230    * also now returns `const AggregateDecl *`
    226 * `genericSubstitution()` moved to own visitor in `AST/GenericSubstitution.hpp`
     231* `genericSubstitution()` moved to own visitor in `AST/GenericSubstitution.hpp` **TODO** write
    227232
    228233`BasicType`
Note: See TracChangeset for help on using the changeset viewer.