Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r71f4e4f r2a4b088  
    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 : Rob Schluntz
    12 // Last Modified On : Wed Jan 13 15:27:23 2016
    13 // Update Count     : 18
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Jul 24 16:11:05 2015
     13// Update Count     : 15
    1414//
    1515
     
    219219}
    220220
     221void Visitor::visit( UntypedOffsetofExpr *offsetofExpr ) {
     222        acceptAll( offsetofExpr->get_results(), *this );
     223        maybeAccept( offsetofExpr->get_type(), *this );
     224}
     225
     226void Visitor::visit( OffsetofExpr *offsetofExpr ) {
     227        acceptAll( offsetofExpr->get_results(), *this );
     228        maybeAccept( offsetofExpr->get_type(), *this );
     229        maybeAccept( offsetofExpr->get_member(), *this );
     230}
     231
    221232void Visitor::visit( AttrExpr *attrExpr ) {
    222233        acceptAll( attrExpr->get_results(), *this );
     
    353364}
    354365
    355 void Visitor::visit( ConstructorInit *ctorInit ) {
    356         maybeAccept( ctorInit->get_ctor(), *this );
    357         maybeAccept( ctorInit->get_init(), *this );
    358 }
    359 
    360366void Visitor::visit( Subrange *subrange ) {}
    361367
Note: See TracChangeset for help on using the changeset viewer.