Changeset c1f502c
- Timestamp:
- Aug 11, 2023, 12:57:31 PM (9 months ago)
- Branches:
- master
- Children:
- f045f34
- Parents:
- 7156c46
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptDeclNew.cpp
r7156c46 rc1f502c 242 242 } 243 243 244 staticast::ObjectDecl * createExternVTable(244 ast::ObjectDecl * createExternVTable( 245 245 CodeLocation const & location, 246 246 std::string const & exceptionName, … … 451 451 std::string const & tableName = decl->name; 452 452 453 453 ast::ObjectDecl * retDecl; 454 454 if ( decl->storage.is_extern ) { 455 455 // Unique type-ids are only needed for polymorphic instances. … … 473 473 } 474 474 475 476 477 478 479 475 for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) { 476 retDecl->attributes.push_back( attr ); 477 } 478 479 return retDecl; 480 480 } 481 481 … … 483 483 ast::StructInstType const * postvisit( ast::VTableType const * type ) { 484 484 auto inst = type->base.as<ast::BaseInstType>(); 485 485 486 486 std::string vtableName = Virtual::vtableTypeName( inst->name ); 487 487
Note: See TracChangeset
for help on using the changeset viewer.