Changeset 5407cdc for src/Virtual/Tables.h
- Timestamp:
- Apr 28, 2021, 4:56:50 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8d66610
- Parents:
- feacef9 (diff), b7fd2db6 (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
-
src/Virtual/Tables.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Virtual/Tables.h
rfeacef9 r5407cdc 10 10 // Created On : Mon Aug 31 11:07:00 2020 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Tue Sep 1 14:29:00 202013 // Update Count : 012 // Last Modified On : Wed Apr 21 10:30:00 2021 13 // Update Count : 2 14 14 // 15 15 … … 22 22 namespace Virtual { 23 23 24 std::string typeIdType( std::string const & type_name ); 25 std::string typeIdName( std::string const & type_name ); 24 26 std::string vtableTypeName( std::string const & type_name ); 25 27 std::string instanceName( std::string const & vtable_name ); 26 28 std::string vtableInstanceName( std::string const & type_name ); 29 std::string concurrentDefaultVTableName(); 27 30 bool isVTableInstanceName( std::string const & name ); 28 31 29 ObjectDecl * makeVtableForward( StructInstType * vtableType ); 32 ObjectDecl * makeVtableForward( 33 std::string const & name, StructInstType * vtableType ); 30 34 /* Create a forward declaration of a vtable of the given type. 31 35 * vtableType node is consumed. 32 36 */ 33 37 34 ObjectDecl * makeVtableInstance( StructInstType * vtableType, Type * objectType, 38 ObjectDecl * makeVtableInstance( 39 std::string const & name, 40 StructInstType * vtableType, Type * objectType, 35 41 Initializer * init = nullptr ); 36 42 /* Create an initialized definition of a vtable. … … 50 56 */ 51 57 58 ObjectDecl * makeTypeIdInstance( StructInstType const * typeIdType ); 59 /* Build an instance of the type-id from the type of the type-id. 60 * TODO: Should take the parent type. Currently locked to the exception_t. 61 */ 62 52 63 }
Note:
See TracChangeset
for help on using the changeset viewer.