Changeset 8d96dee for src/ControlStruct


Ignore:
Timestamp:
Aug 14, 2023, 1:27:56 PM (19 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
3543e99
Parents:
89bef959 (diff), d32679d5 (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
  • TabularUnified src/ControlStruct/ExceptDeclNew.cpp

    r89bef959 r8d96dee  
    242242}
    243243
    244 static ast::ObjectDecl * createExternVTable(
     244ast::ObjectDecl * createExternVTable(
    245245                CodeLocation const & location,
    246246                std::string const & exceptionName,
     
    453453        std::string const & tableName = decl->name;
    454454
    455     ast::ObjectDecl * retDecl;
     455        ast::ObjectDecl * retDecl;
    456456        if ( decl->storage.is_extern ) {
    457457                // Unique type-ids are only needed for polymorphic instances.
     
    475475        }
    476476
    477     for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) {
    478         retDecl->attributes.push_back( attr );
    479     }
    480 
    481     return retDecl;
     477        for ( ast::ptr<ast::Attribute> const & attr : decl->attributes ) {
     478                retDecl->attributes.push_back( attr );
     479        }
     480
     481        return retDecl;
    482482}
    483483
     
    485485        ast::StructInstType const * postvisit( ast::VTableType const * type ) {
    486486                auto inst = type->base.as<ast::BaseInstType>();
    487        
     487
    488488                std::string vtableName = Virtual::vtableTypeName( inst->name );
    489489
Note: See TracChangeset for help on using the changeset viewer.