Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r630a82a rdc2e7e0  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Visitor.cc -- 
     7// Visitor.cc --
    88//
    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 Apr  1 18:05:13 2016
     11// Last Modified By : Rob Schluntz
     12// Last Modified On : Mon Apr 18 17:30:10 2016
    1313// Update Count     : 18
    1414//
     
    230230}
    231231
     232void Visitor::visit( OffsetPackExpr *offsetPackExpr ) {
     233        acceptAll( offsetPackExpr->get_results(), *this );
     234        maybeAccept( offsetPackExpr->get_type(), *this );
     235}
     236
    232237void Visitor::visit( AttrExpr *attrExpr ) {
    233238        acceptAll( attrExpr->get_results(), *this );
     
    277282        maybeAccept( asmExpr->get_constraint(), *this );
    278283        maybeAccept( asmExpr->get_operand(), *this );
     284}
     285
     286void Visitor::visit( ImplicitCopyCtorExpr *impCpCtorExpr ) {
     287        maybeAccept( impCpCtorExpr->get_callExpr(), *this );
     288        acceptAll( impCpCtorExpr->get_copyCtors(), *this );
     289        acceptAll( impCpCtorExpr->get_tempDecls(), *this );
     290        acceptAll( impCpCtorExpr->get_returnDecls(), *this );
    279291}
    280292
     
    374386}
    375387
     388void Visitor::visit( ConstructorInit *ctorInit ) {
     389        maybeAccept( ctorInit->get_ctor(), *this );
     390        maybeAccept( ctorInit->get_init(), *this );
     391}
     392
    376393void Visitor::visit( Subrange *subrange ) {}
    377394
Note: See TracChangeset for help on using the changeset viewer.