Changeset 13cdc8c for src/Validate
- Timestamp:
- Mar 30, 2022, 10:44:10 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- f870e257
- Parents:
- ee3da78 (diff), bdfd0bd (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. - Location:
- src/Validate
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/Autogen.cpp
ree3da78 r13cdc8c 248 248 structInst.params.push_back( new ast::TypeExpr( 249 249 typeDecl->location, 250 new ast::TypeInstType( typeDecl ->name, typeDecl)250 new ast::TypeInstType( typeDecl ) 251 251 ) ); 252 252 } … … 264 264 unionInst.params.push_back( new ast::TypeExpr( 265 265 unionDecl->location, 266 new ast::TypeInstType( typeDecl ->name, typeDecl)266 new ast::TypeInstType( typeDecl ) 267 267 ) ); 268 268 } -
src/Validate/ForallPointerDecay.cpp
ree3da78 r13cdc8c 41 41 for ( auto & type_param : decl->type_params ) { 42 42 type->forall.emplace_back( 43 new ast::TypeInstType( type_param ->name, type_param) );43 new ast::TypeInstType( type_param ) ); 44 44 } 45 45 for ( auto & assertion : decl->assertions ) {
Note:
See TracChangeset
for help on using the changeset viewer.