Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

    r2a4b088 r630a82a  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Jul 24 16:11:05 2015
    13 // Update Count     : 15
     12// Last Modified On : Fri Apr  1 18:05:13 2016
     13// Update Count     : 18
    1414//
    1515
     
    5656}
    5757
    58 void Visitor::visit( ContextDecl *aggregateDecl ) {
     58void Visitor::visit( TraitDecl *aggregateDecl ) {
    5959        visit( static_cast< AggregateDecl* >( aggregateDecl ) );
    6060}
     
    284284}
    285285
     286void Visitor::visit( CompoundLiteralExpr *compLitExpr ) {
     287        acceptAll( compLitExpr->get_results(), *this );
     288        maybeAccept( compLitExpr->get_type(), *this );
     289        maybeAccept( compLitExpr->get_initializer(), *this );
     290}
     291
    286292void Visitor::visit( VoidType *voidType ) {
    287293        acceptAll( voidType->get_forall(), *this );
     
    326332}
    327333
    328 void Visitor::visit( ContextInstType *aggregateUseType ) {
     334void Visitor::visit( TraitInstType *aggregateUseType ) {
    329335        visit( static_cast< ReferenceToType * >( aggregateUseType ) );
    330336        acceptAll( aggregateUseType->get_members(), *this );
     
    355361}
    356362
     363void Visitor::visit( VarArgsType *varArgsType ) {
     364        acceptAll( varArgsType->get_forall(), *this );
     365}
     366
    357367void Visitor::visit( SingleInit *singleInit ) {
    358368        singleInit->get_value()->accept( *this );
Note: See TracChangeset for help on using the changeset viewer.