Changeset cd59d28


Ignore:
Timestamp:
Apr 6, 2021, 10:51:54 AM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
e07b589
Parents:
ec43cf9
Message:

A bit of clean-up in AST/Type.cpp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Type.cpp

    rec43cf9 rcd59d28  
    105105}
    106106
     107// --- BaseInstType
     108
    107109std::vector<readonly<Decl>> BaseInstType::lookup( const std::string& name ) const {
    108110        assertf( aggr(), "Must have aggregate to perform lookup" );
     
    119121template<typename decl_t>
    120122SueInstType<decl_t>::SueInstType(
    121         const decl_t * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )
    122 : BaseInstType( b->name, q, move(as) ), base( b ) {}
     123        const base_type * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )
     124: BaseInstType( b->name, q, std::move(as) ), base( b ) {}
    123125
    124126template<typename decl_t>
     
    142144        const TraitDecl * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )
    143145: BaseInstType( b->name, q, move(as) ), base( b ) {}
     146
     147// --- TypeInstType
    144148
    145149void TypeInstType::set_base( const TypeDecl * b ) {
Note: See TracChangeset for help on using the changeset viewer.