Ignore:
Timestamp:
Apr 28, 2021, 4:56:50 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Virtual/Tables.h

    rfeacef9 r5407cdc  
    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.