Changeset e07b589
- Timestamp:
- Apr 6, 2021, 9:17:52 PM (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:
- 7530049d, 857a1c6, 88ac8672, ecfd758
- Parents:
- 8483c39a (diff), cd59d28 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/AST/Type.cpp ¶
r8483c39a re07b589 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.