Changes in src/SynTree/Visitor.cc [145f1fc:7f5566b]
- File:
-
- 1 edited
-
src/SynTree/Visitor.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r145f1fc r7f5566b 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Tue Jul 14 12:31:03201513 // Update Count : 311 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 24 16:11:05 2015 13 // Update Count : 15 14 14 // 15 15 … … 82 82 } 83 83 84 void Visitor::visit( AsmStmt *asmStmt ) { 85 maybeAccept( asmStmt->get_instruction(), *this ); 86 acceptAll( asmStmt->get_output(), *this ); 87 acceptAll( asmStmt->get_input(), *this ); 88 acceptAll( asmStmt->get_clobber(), *this ); 89 } 90 84 91 void Visitor::visit( IfStmt *ifStmt ) { 85 92 maybeAccept( ifStmt->get_condition(), *this ); … … 246 253 } 247 254 255 void Visitor::visit( AsmExpr *asmExpr ) { 256 maybeAccept( asmExpr->get_inout(), *this ); 257 maybeAccept( asmExpr->get_constraint(), *this ); 258 maybeAccept( asmExpr->get_operand(), *this ); 259 } 260 248 261 void Visitor::visit( UntypedValofExpr *valofExpr ) { 249 262 acceptAll( valofExpr->get_results(), *this ); … … 282 295 283 296 void Visitor::visit( StructInstType *aggregateUseType ) { 284 visit( static_cast< ReferenceToType * >( aggregateUseType ) );297 visit( static_cast< ReferenceToType * >( aggregateUseType ) ); 285 298 } 286 299 287 300 void Visitor::visit( UnionInstType *aggregateUseType ) { 288 visit( static_cast< ReferenceToType * >( aggregateUseType ) );301 visit( static_cast< ReferenceToType * >( aggregateUseType ) ); 289 302 } 290 303 291 304 void Visitor::visit( EnumInstType *aggregateUseType ) { 292 visit( static_cast< ReferenceToType * >( aggregateUseType ) );305 visit( static_cast< ReferenceToType * >( aggregateUseType ) ); 293 306 } 294 307 295 308 void Visitor::visit( ContextInstType *aggregateUseType ) { 296 visit( static_cast< ReferenceToType * >( aggregateUseType ) );309 visit( static_cast< ReferenceToType * >( aggregateUseType ) ); 297 310 acceptAll( aggregateUseType->get_members(), *this ); 298 311 } 299 312 300 313 void Visitor::visit( TypeInstType *aggregateUseType ) { 301 visit( static_cast< ReferenceToType * >( aggregateUseType ) );314 visit( static_cast< ReferenceToType * >( aggregateUseType ) ); 302 315 } 303 316
Note:
See TracChangeset
for help on using the changeset viewer.