Changeset 0519e34 for src/AST/Pass.hpp
- Timestamp:
- Sep 21, 2020, 3:22:18 PM (4 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.hpp
ra951171 r0519e34 50 50 // | PureVisitor - makes the visitor pure, it never modifies nodes in place and always 51 51 // clones nodes it needs to make changes to 52 // | With TypeSubstitution - provides polymorphic const TypeSubstitution * envfor the52 // | WithConstTypeSubstitution - provides polymorphic const TypeSubstitution * typeSubs for the 53 53 // current expression 54 54 // | WithStmtsToAdd - provides the ability to insert statements before or after the current … … 294 294 //------------------------------------------------------------------------------------------------- 295 295 296 /// Keep track of the polymorphic const TypeSubstitution * env for the current expression297 298 296 /// If used the visitor will always clone nodes. 299 297 struct PureVisitor {}; 300 298 299 /// Keep track of the polymorphic const TypeSubstitution * typeSubs for the current expression. 301 300 struct WithConstTypeSubstitution { 302 const TypeSubstitution * env= nullptr;301 const TypeSubstitution * typeSubs = nullptr; 303 302 }; 304 303
Note: See TracChangeset
for help on using the changeset viewer.