Changeset cd59d28
- Timestamp:
- Apr 6, 2021, 10:51:54 AM (4 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.cpp
rec43cf9 rcd59d28 105 105 } 106 106 107 // --- BaseInstType 108 107 109 std::vector<readonly<Decl>> BaseInstType::lookup( const std::string& name ) const { 108 110 assertf( aggr(), "Must have aggregate to perform lookup" ); … … 119 121 template<typename decl_t> 120 122 SueInstType<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 ) {} 123 125 124 126 template<typename decl_t> … … 142 144 const TraitDecl * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as ) 143 145 : BaseInstType( b->name, q, move(as) ), base( b ) {} 146 147 // --- TypeInstType 144 148 145 149 void TypeInstType::set_base( const TypeDecl * b ) {
Note: See TracChangeset
for help on using the changeset viewer.