Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Virtual/Tables.h

    r69c5c00 rb583113  
    1010// Created On       : Mon Aug 31 11:07:00 2020
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Tue Sep  1 14:29:00 2020
    13 // Update Count     : 0
     12// Last Modified On : Wed Apr 21 10:30:00 2021
     13// Update Count     : 2
    1414//
    1515
     
    2222namespace Virtual {
    2323
     24std::string typeIdType( std::string const & type_name );
     25std::string typeIdName( std::string const & type_name );
    2426std::string vtableTypeName( std::string const & type_name );
    2527std::string instanceName( std::string const & vtable_name );
    2628std::string vtableInstanceName( std::string const & type_name );
     29std::string concurrentDefaultVTableName();
    2730bool isVTableInstanceName( std::string const & name );
    2831
    29 ObjectDecl * makeVtableForward( StructInstType * vtableType );
     32ObjectDecl * makeVtableForward(
     33        std::string const & name, StructInstType * vtableType );
    3034/* Create a forward declaration of a vtable of the given type.
    3135 * vtableType node is consumed.
    3236 */
    3337
    34 ObjectDecl * makeVtableInstance( StructInstType * vtableType, Type * objectType,
     38ObjectDecl * makeVtableInstance(
     39        std::string const & name,
     40        StructInstType * vtableType, Type * objectType,
    3541        Initializer * init = nullptr );
    3642/* Create an initialized definition of a vtable.
     
    5056 */
    5157
     58ObjectDecl * 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
    5263}
Note: See TracChangeset for help on using the changeset viewer.