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