- Timestamp:
- Jul 12, 2024, 3:30:18 PM (5 months ago)
- Branches:
- master
- Children:
- 8315947
- Parents:
- 0c327ce (diff), 3e135c8 (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
-
src/Virtual/Tables.cpp
r0c327ce r76b507d 122 122 ) ); 123 123 } 124 //ast::Expr * expr = buildInitExpr(...);125 //inits.push_back( new ast::SingleInit( location, expr ) )126 124 } 127 125 … … 162 160 assert( vtableType ); 163 161 assert( exceptType ); 162 163 // If this is called after Fix Return Statements (currently it is in 164 // Implement Concurrent Keywords) then this must be marked as unused 165 // to avoid warnings. 166 ast::ObjectDecl * frontRet = new ast::ObjectDecl( location, 167 "_retvalue", 168 new ast::ReferenceType( vtableType ) 169 ); 170 frontRet->attributes.emplace_back( new ast::Attribute( "unused" ) ); 171 164 172 return new ast::FunctionDecl( 165 173 location, … … 170 178 new ast::PointerType( exceptType ) 171 179 ) }, 172 { new ast::ObjectDecl( 173 location, 174 "_retvalue", 175 new ast::ReferenceType( vtableType ) 176 ) }, 180 { frontRet }, 177 181 nullptr, 178 182 ast::Storage::Classes(),
Note: See TracChangeset
for help on using the changeset viewer.