Changeset 5a40e4e for src/SynTree/Statement.h
- Timestamp:
- Sep 9, 2021, 3:56:32 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- d0b9247
- Parents:
- dd1cc02 (diff), d8d512e (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
rdd1cc02 r5a40e4e 535 535 }; 536 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 ); } 547 virtual void accept( Visitor & v ) override { v.visit( this ); } 548 virtual void accept( Visitor & v ) const override { v.visit( this ); } 549 virtual Statement * acceptMutator( Mutator & m ) override { return m.mutate( this ); } 550 virtual void print( std::ostream & os, Indenter indent = {} ) const override; 551 }; 552 537 553 // Local Variables: // 538 554 // tab-width: 4 //
Note:
See TracChangeset
for help on using the changeset viewer.