Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

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