Changeset ed96731 for src/Validate


Ignore:
Timestamp:
Nov 18, 2024, 3:43:38 PM (21 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.)

Location:
src/Validate
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/Autogen.cpp

    r0dffe91 red96731  
    5050// --------------------------------------------------------------------------
    5151struct AutogenerateRoutines final :
    52                 public ast::WithDeclsToAdd<>,
     52                public ast::WithDeclsToAdd,
    5353                public ast::WithShortCircuiting {
    5454        void previsit( const ast::EnumDecl * enumDecl );
  • src/Validate/CompoundLiteral.cpp

    r0dffe91 red96731  
    2727
    2828struct CompoundLiteral final :
    29                 public ast::WithDeclsToAdd<> {
     29                public ast::WithDeclsToAdd {
    3030        ast::Storage::Classes storageClasses;
    3131
  • src/Validate/HoistStruct.cpp

    r0dffe91 red96731  
    6868 */
    6969struct HoistStructCore final :
    70                 public ast::WithDeclsToAdd<>, public ast::WithGuards {
     70                public ast::WithDeclsToAdd, public ast::WithGuards {
    7171        ast::StructDecl const * previsit( ast::StructDecl const * decl );
    7272        ast::StructDecl const * postvisit( ast::StructDecl const * decl );
  • src/Validate/HoistTypeDecls.cpp

    r0dffe91 red96731  
    2222namespace {
    2323
    24 struct HoistTypeDecls final : public ast::WithDeclsToAdd<> {
     24struct HoistTypeDecls final : public ast::WithDeclsToAdd {
    2525        void previsit( ast::SizeofExpr const * );
    2626        void previsit( ast::AlignofExpr const * );
  • src/Validate/ImplementEnumFunc.cpp

    r0dffe91 red96731  
    472472
    473473struct ImplementEnumFunc final :
    474                 public ast::WithDeclsToAdd<>, public ast::WithShortCircuiting {
     474                public ast::WithDeclsToAdd, public ast::WithShortCircuiting {
    475475        void previsit(const ast::EnumDecl* enumDecl);
    476476        void previsit(const ast::FunctionDecl* functionDecl);
  • src/Validate/LinkInstanceTypes.cpp

    r0dffe91 red96731  
    2727struct LinkTypesCore : public WithNoIdSymbolTable,
    2828                public ast::WithCodeLocation,
    29                 public ast::WithDeclsToAdd<>,
     29                public ast::WithDeclsToAdd,
    3030                public ast::WithGuards,
    3131                public ast::WithShortCircuiting,
  • src/Validate/ReplaceTypedef.cpp

    r0dffe91 red96731  
    2828struct ReplaceTypedefCore final :
    2929                public ast::WithCodeLocation,
    30                 public ast::WithDeclsToAdd<>,
     30                public ast::WithDeclsToAdd,
    3131                public ast::WithGuards,
    3232                public ast::WithShortCircuiting,
Note: See TracChangeset for help on using the changeset viewer.