Changes in src/AST/Type.cpp [cd59d28:3e5dd913]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Type.cpp
rcd59d28 r3e5dd913 105 105 } 106 106 107 // --- BaseInstType108 109 107 std::vector<readonly<Decl>> BaseInstType::lookup( const std::string& name ) const { 110 108 assertf( aggr(), "Must have aggregate to perform lookup" ); … … 121 119 template<typename decl_t> 122 120 SueInstType<decl_t>::SueInstType( 123 const base_type* b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as )124 : BaseInstType( b->name, q, std::move(as) ), base( b ) {}121 const decl_t * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as ) 122 : BaseInstType( b->name, q, move(as) ), base( b ) {} 125 123 126 124 template<typename decl_t> … … 144 142 const TraitDecl * b, CV::Qualifiers q, std::vector<ptr<Attribute>>&& as ) 145 143 : BaseInstType( b->name, q, move(as) ), base( b ) {} 146 147 // --- TypeInstType148 144 149 145 void TypeInstType::set_base( const TypeDecl * b ) {
Note: See TracChangeset
for help on using the changeset viewer.