Changes in src/SynTree/Visitor.cc [7f5566b:145f1fc]
- File:
-
- 1 edited
-
src/SynTree/Visitor.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Visitor.cc
r7f5566b r145f1fc 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Fri Jul 24 16:11:05201513 // Update Count : 1511 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Jul 14 12:31:03 2015 13 // Update Count : 3 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 91 84 void Visitor::visit( IfStmt *ifStmt ) { 92 85 maybeAccept( ifStmt->get_condition(), *this ); … … 253 246 } 254 247 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 261 248 void Visitor::visit( UntypedValofExpr *valofExpr ) { 262 249 acceptAll( valofExpr->get_results(), *this ); … … 295 282 296 283 void Visitor::visit( StructInstType *aggregateUseType ) { 297 visit( static_cast< ReferenceToType * >( aggregateUseType ) );284 visit( static_cast< ReferenceToType* >( aggregateUseType ) ); 298 285 } 299 286 300 287 void Visitor::visit( UnionInstType *aggregateUseType ) { 301 visit( static_cast< ReferenceToType * >( aggregateUseType ) );288 visit( static_cast< ReferenceToType* >( aggregateUseType ) ); 302 289 } 303 290 304 291 void Visitor::visit( EnumInstType *aggregateUseType ) { 305 visit( static_cast< ReferenceToType * >( aggregateUseType ) );292 visit( static_cast< ReferenceToType* >( aggregateUseType ) ); 306 293 } 307 294 308 295 void Visitor::visit( ContextInstType *aggregateUseType ) { 309 visit( static_cast< ReferenceToType * >( aggregateUseType ) );296 visit( static_cast< ReferenceToType* >( aggregateUseType ) ); 310 297 acceptAll( aggregateUseType->get_members(), *this ); 311 298 } 312 299 313 300 void Visitor::visit( TypeInstType *aggregateUseType ) { 314 visit( static_cast< ReferenceToType * >( aggregateUseType ) );301 visit( static_cast< ReferenceToType* >( aggregateUseType ) ); 315 302 } 316 303
Note:
See TracChangeset
for help on using the changeset viewer.