Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Visitor.cc

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