- File:
-
- 1 edited
-
src/ControlStruct/ExceptDeclNew.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/ControlStruct/ExceptDeclNew.cpp
r89bef959 rc1f502c 242 242 } 243 243 244 staticast::ObjectDecl * createExternVTable(244 ast::ObjectDecl * createExternVTable( 245 245 CodeLocation const & location, 246 246 std::string const & exceptionName, … … 298 298 ), 299 299 } ), 300 ast::Storage::Classes(), 301 ast::Linkage::Cforall, 302 { new ast::Attribute( "cfa_linkonce" ) } 300 ast::Storage::Classes(), 301 ast::Linkage::Cforall 303 302 ); 304 303 } … … 353 352 } ), 354 353 ast::Storage::Classes(), 355 ast::Linkage::Cforall, 356 { new ast::Attribute( "cfa_linkonce" ) } 354 ast::Linkage::Cforall 357 355 ); 358 356 } … … 453 451 std::string const & tableName = decl->name; 454 452 455 ast::ObjectDecl * retDecl;453 ast::ObjectDecl * retDecl; 456 454 if ( decl->storage.is_extern ) { 457 455 // Unique type-ids are only needed for polymorphic instances. … … 475 473 } 476 474 477 for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) {478 retDecl->attributes.push_back( attr );479 }480 481 return retDecl;475 for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) { 476 retDecl->attributes.push_back( attr ); 477 } 478 479 return retDecl; 482 480 } 483 481 … … 485 483 ast::StructInstType const * postvisit( ast::VTableType const * type ) { 486 484 auto inst = type->base.as<ast::BaseInstType>(); 487 485 488 486 std::string vtableName = Virtual::vtableTypeName( inst->name ); 489 487
Note:
See TracChangeset
for help on using the changeset viewer.