Changeset 800d275 for src/SynTree/Visitor.cc
- Timestamp:
- Aug 29, 2017, 2:54:49 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 235b41f
- Parents:
- 28e58fd (diff), 6454949 (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
-
src/SynTree/Visitor.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r28e58fd r800d275 155 155 } 156 156 157 void Visitor::visit( WaitForStmt *waitforStmt ) { 158 for( auto & clause : waitforStmt->clauses ) { 159 maybeAccept( clause.target.function, *this ); 160 acceptAll( clause.target.arguments, *this ); 161 162 maybeAccept( clause.statement, *this ); 163 maybeAccept( clause.condition, *this ); 164 } 165 166 maybeAccept( waitforStmt->timeout.time, *this ); 167 maybeAccept( waitforStmt->timeout.statement, *this ); 168 maybeAccept( waitforStmt->timeout.condition, *this ); 169 maybeAccept( waitforStmt->orelse.statement, *this ); 170 maybeAccept( waitforStmt->orelse.condition, *this ); 171 } 172 157 173 void Visitor::visit( __attribute__((unused)) NullStmt *nullStmt ) { 158 174 }
Note:
See TracChangeset
for help on using the changeset viewer.