Changeset c1f502c


Ignore:
Timestamp:
Aug 11, 2023, 12:57:31 PM (9 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
f045f34
Parents:
7156c46
Message:

Fixed whitespace in last commit, removed extra use of static.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/ExceptDeclNew.cpp

    r7156c46 rc1f502c  
    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.