Ignore:
Timestamp:
Nov 18, 2024, 3:43:38 PM (23 hours ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
29075d1
Parents:
0dffe91
Message:

With{Stmts,Decls}ToAdd? how has an -X version like WithSymbolTableX. Although these -X versions might be useful can could possibly be removed in the future. (This is a therapy commit.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Virtual/VirtualDtor.cpp

    r0dffe91 red96731  
    119119// collects data needed for next pass that does the circular defn resolution
    120120//     for dtor setters and delete fns (via table above)
    121 struct GenFuncsCreateTables : public ast::WithDeclsToAdd<> {
     121struct GenFuncsCreateTables : public ast::WithDeclsToAdd {
    122122        unordered_map<const StructDecl *, CtorDtor> & structDecls;
    123123        CtorDtorTable & torDecls;
     
    351351// separate pass is needed since  __CFA_set_dtor needs to be defined after
    352352//   the last dtor defn which is found in prior pass
    353 struct GenSetDtor : public ast::WithDeclsToAdd<> {
     353struct GenSetDtor : public ast::WithDeclsToAdd {
    354354        unordered_map<const StructDecl *, CtorDtor> & structDecls; // set of decls that inherit from virt dtor
    355355        CtorDtorTable & torDecls;
Note: See TracChangeset for help on using the changeset viewer.