Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Statement.h

    r6cebfef r427854b  
    518518class ImplicitCtorDtorStmt : public Statement {
    519519  public:
    520         // the constructor/destructor call statement; owned here for a while, eventually transferred elsewhere
     520        // Non-owned pointer to the constructor/destructor statement
    521521        Statement * callStmt;
    522522
     
    529529
    530530        virtual ImplicitCtorDtorStmt * clone() const override { return new ImplicitCtorDtorStmt( *this ); }
    531         virtual void accept( Visitor & v ) override { v.visit( this ); }
    532         virtual void accept( Visitor & v ) const override { v.visit( this ); }
    533         virtual Statement * acceptMutator( Mutator & m )  override { return m.mutate( this ); }
    534         virtual void print( std::ostream & os, Indenter indent = {} ) const override;
    535 };
    536 
    537 class MutexStmt : public Statement {
    538   public:
    539         Statement * stmt;
    540         std::list<Expression *> mutexObjs; // list of mutex objects to acquire
    541 
    542         MutexStmt( Statement * stmt, std::list<Expression *> mutexObjs );
    543         MutexStmt( const MutexStmt & other );
    544         virtual ~MutexStmt();
    545 
    546         virtual MutexStmt * clone() const override { return new MutexStmt( *this ); }
    547531        virtual void accept( Visitor & v ) override { v.visit( this ); }
    548532        virtual void accept( Visitor & v ) const override { v.visit( this ); }
Note: See TracChangeset for help on using the changeset viewer.