Changeset f045f34


Ignore:
Timestamp:
Aug 11, 2023, 6:40:05 PM (9 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
2137eb7, 279f8df, f259682
Parents:
409bb8f (diff), c1f502c (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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptDeclNew.cpp

    r409bb8f rf045f34  
    242242}
    243243
    244 static ast::ObjectDecl * createExternVTable(
     244ast::ObjectDecl * createExternVTable(
    245245                CodeLocation const & location,
    246246                std::string const & exceptionName,
     
    451451        std::string const & tableName = decl->name;
    452452
    453     ast::ObjectDecl * retDecl;
     453        ast::ObjectDecl * retDecl;
    454454        if ( decl->storage.is_extern ) {
    455455                // Unique type-ids are only needed for polymorphic instances.
     
    473473        }
    474474
    475     for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) {
    476         retDecl->attributes.push_back( attr );
    477     }
    478 
    479     return retDecl;
     475        for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) {
     476                retDecl->attributes.push_back( attr );
     477        }
     478
     479        return retDecl;
    480480}
    481481
     
    483483        ast::StructInstType const * postvisit( ast::VTableType const * type ) {
    484484                auto inst = type->base.as<ast::BaseInstType>();
    485        
     485
    486486                std::string vtableName = Virtual::vtableTypeName( inst->name );
    487487
Note: See TracChangeset for help on using the changeset viewer.