Changeset 73f1b1c for src/AST/Pass.hpp


Ignore:
Timestamp:
Sep 3, 2020, 11:10:35 AM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
447b0d2b
Parents:
f76ff0b
Message:

Cleaned up comments from the PureVisitor? addition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.hpp

    rf76ff0b r73f1b1c  
    4848//
    4949// Several additional features are available through inheritance
     50// | PureVisitor           - makes the visitor pure, it never modifies nodes in place and always
     51//                           clones nodes it needs to make changes to
    5052// | WithTypeSubstitution  - provides polymorphic const TypeSubstitution * env for the
    5153//                           current expression
     
    267269/// Keep track of the polymorphic const TypeSubstitution * env for the current expression
    268270
    269 /// marker to force shallow copies in pass visit
     271/// If used the visitor will always clone nodes.
    270272struct PureVisitor {};
    271273
Note: See TracChangeset for help on using the changeset viewer.