Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r7f5566b r145f1fc  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jul 24 16:11:05 2015
    13 // Update Count     : 15
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Tue Jul 14 12:31:03 2015
     13// Update Count     : 3
    1414//
    1515
     
    8282}
    8383
    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 
    9184void Visitor::visit( IfStmt *ifStmt ) {
    9285        maybeAccept( ifStmt->get_condition(), *this );
     
    253246}
    254247
    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 
    261248void Visitor::visit( UntypedValofExpr *valofExpr ) {
    262249        acceptAll( valofExpr->get_results(), *this );
     
    295282
    296283void Visitor::visit( StructInstType *aggregateUseType ) {
    297         visit( static_cast< ReferenceToType * >( aggregateUseType ) );
     284        visit( static_cast< ReferenceToType* >( aggregateUseType ) );
    298285}
    299286
    300287void Visitor::visit( UnionInstType *aggregateUseType ) {
    301         visit( static_cast< ReferenceToType * >( aggregateUseType ) );
     288        visit( static_cast< ReferenceToType* >( aggregateUseType ) );
    302289}
    303290
    304291void Visitor::visit( EnumInstType *aggregateUseType ) {
    305         visit( static_cast< ReferenceToType * >( aggregateUseType ) );
     292        visit( static_cast< ReferenceToType* >( aggregateUseType ) );
    306293}
    307294
    308295void Visitor::visit( ContextInstType *aggregateUseType ) {
    309         visit( static_cast< ReferenceToType * >( aggregateUseType ) );
     296        visit( static_cast< ReferenceToType* >( aggregateUseType ) );
    310297        acceptAll( aggregateUseType->get_members(), *this );
    311298}
    312299
    313300void Visitor::visit( TypeInstType *aggregateUseType ) {
    314         visit( static_cast< ReferenceToType * >( aggregateUseType ) );
     301        visit( static_cast< ReferenceToType* >( aggregateUseType ) );
    315302}
    316303
Note: See TracChangeset for help on using the changeset viewer.