Changeset 29075d1 for src/Concurrency


Ignore:
Timestamp:
Nov 18, 2024, 10:07:39 PM (13 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
7c80a86, ecf3812
Parents:
1b39705 (diff), ed96731 (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

Location:
src/Concurrency
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Actors.cpp

    r1b39705 r29075d1  
    194194// collects data needed for next pass that does the circular defn resolution
    195195//     for message send operators (via table above)
    196 struct GenFuncsCreateTables : public ast::WithDeclsToAdd<> {
     196struct GenFuncsCreateTables : public ast::WithDeclsToAdd {
    197197        unordered_set<const StructDecl *> & actorStructDecls;
    198198        unordered_set<const StructDecl *>  & messageStructDecls;
     
    451451// separate pass is needed since this pass resolves circular defn issues
    452452// generates the forward declarations of the send operator for actor routines
    453 struct FwdDeclOperator : public ast::WithDeclsToAdd<> {
     453struct FwdDeclOperator : public ast::WithDeclsToAdd {
    454454        unordered_set<const StructDecl *> & actorStructDecls;
    455455        unordered_set<const StructDecl *>  & messageStructDecls;
  • src/Concurrency/Corun.cpp

    r1b39705 r29075d1  
    2525namespace Concurrency {
    2626
    27 struct CorunKeyword : public WithDeclsToAdd<>, public WithStmtsToAdd<> {
     27struct CorunKeyword : public WithDeclsToAdd, public WithStmtsToAdd {
    2828        UniqueName CorunFnNamer = "__CFA_corun_lambda_"s;
    2929        UniqueName CoforFnNamer = "__CFA_cofor_lambda_"s;
  • src/Concurrency/Keywords.cpp

    r1b39705 r29075d1  
    117117
    118118// --------------------------------------------------------------------------
    119 struct ConcurrentSueKeyword : public ast::WithDeclsToAdd<> {
     119struct ConcurrentSueKeyword : public ast::WithDeclsToAdd {
    120120        ConcurrentSueKeyword(
    121121                std::string&& type_name, std::string&& field_name,
     
    639639// --------------------------------------------------------------------------
    640640struct SuspendKeyword final :
    641                 public ast::WithStmtsToAdd<>, public ast::WithGuards {
     641                public ast::WithStmtsToAdd, public ast::WithGuards {
    642642        SuspendKeyword() = default;
    643643        virtual ~SuspendKeyword() = default;
     
    860860
    861861// --------------------------------------------------------------------------
    862 struct MutexKeyword final : public ast::WithDeclsToAdd<> {
     862struct MutexKeyword final : public ast::WithDeclsToAdd {
    863863        const ast::FunctionDecl * postvisit( const ast::FunctionDecl * decl );
    864864        void postvisit( const ast::StructDecl * decl );
  • src/Concurrency/Waituntil.cpp

    r1b39705 r29075d1  
    13981398// To add the predicates at global scope we need to do it in a second pass
    13991399// Predicates are added after "struct select_node { ... };"
    1400 class AddPredicateDecls final : public WithDeclsToAdd<> {
     1400class AddPredicateDecls final : public WithDeclsToAdd {
    14011401        vector<FunctionDecl *> & satFns;
    14021402        const StructDecl * selectNodeDecl = nullptr;
Note: See TracChangeset for help on using the changeset viewer.