Changeset 0519e34 for src/AST/Pass.hpp


Ignore:
Timestamp:
Sep 21, 2020, 3:22:18 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
930e57e
Parents:
a951171 (diff), b2a11ba (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/Pass.hpp

    ra951171 r0519e34  
    5050// | PureVisitor           - makes the visitor pure, it never modifies nodes in place and always
    5151//                           clones nodes it needs to make changes to
    52 // | WithTypeSubstitution  - provides polymorphic const TypeSubstitution * env for the
     52// | WithConstTypeSubstitution - provides polymorphic const TypeSubstitution * typeSubs for the
    5353//                           current expression
    5454// | WithStmtsToAdd        - provides the ability to insert statements before or after the current
     
    294294//-------------------------------------------------------------------------------------------------
    295295
    296 /// Keep track of the polymorphic const TypeSubstitution * env for the current expression
    297 
    298296/// If used the visitor will always clone nodes.
    299297struct PureVisitor {};
    300298
     299/// Keep track of the polymorphic const TypeSubstitution * typeSubs for the current expression.
    301300struct WithConstTypeSubstitution {
    302         const TypeSubstitution * env = nullptr;
     301        const TypeSubstitution * typeSubs = nullptr;
    303302};
    304303
Note: See TracChangeset for help on using the changeset viewer.