Changeset 55b6476 for src/AST/TypeSubstitution.hpp
- Timestamp:
- Jun 28, 2019, 1:29:52 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 417117e
- Parents:
- 7d0881c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/TypeSubstitution.hpp
r7d0881c r55b6476 155 155 Substituter( const TypeSubstitution & sub, bool freeOnly ) : sub( sub ), freeOnly( freeOnly ) {} 156 156 157 #if TIME_TO_CONVERT_PASSES 158 159 Type * postmutate( TypeInstType * aggregateUseType ); 160 Expression * postmutate( NameExpr * nameExpr ); 157 const Type * postvisit( const TypeInstType * aggregateUseType ); 158 const Expr * postvisit( const NameExpr * nameExpr ); 161 159 162 160 /// Records type variable bindings from forall-statements 163 void pre mutate(Type * type );161 void previsit( const ParameterizedType * type ); 164 162 /// Records type variable bindings from forall-statements and instantiations of generic types 165 template< typename TypeClass > void handleAggregateType( TypeClass * type ); 166 167 void premutate( StructInstType * aggregateUseType ); 168 void premutate( UnionInstType * aggregateUseType ); 169 170 #endif 163 void handleAggregateType( const ReferenceToType * type ); 164 165 void previsit( const StructInstType * aggregateUseType ); 166 void previsit( const UnionInstType * aggregateUseType ); 171 167 172 168 const TypeSubstitution & sub;
Note: See TracChangeset
for help on using the changeset viewer.