Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.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:16 2016
    13 // Update Count     : 16
     12// Last Modified On : Sat Jul 25 19:21:33 2015
     13// Update Count     : 11
    1414//
    1515
     
    6363}
    6464
    65 Declaration *Mutator::mutate( TraitDecl *aggregateDecl ) {
     65Declaration *Mutator::mutate( ContextDecl *aggregateDecl ) {
    6666        handleAggregateDecl( aggregateDecl );
    6767        return aggregateDecl;
     
    336336}
    337337
    338 Expression *Mutator::mutate( CompoundLiteralExpr *compLitExpr ) {
    339         mutateAll( compLitExpr->get_results(), *this );
    340         compLitExpr->set_type( maybeMutate( compLitExpr->get_type(), *this ) );
    341         compLitExpr->set_initializer( maybeMutate( compLitExpr->get_initializer(), *this ) );
    342         return compLitExpr;
    343 }
    344 
    345338Type *Mutator::mutate( VoidType *voidType ) {
    346339        mutateAll( voidType->get_forall(), *this );
     
    394387}
    395388
    396 Type *Mutator::mutate( TraitInstType *aggregateUseType ) {
     389Type *Mutator::mutate( ContextInstType *aggregateUseType ) {
    397390        handleReferenceToType( aggregateUseType );
    398391        mutateAll( aggregateUseType->get_members(), *this );
     
    428421}
    429422
    430 Type *Mutator::mutate( VarArgsType *varArgsType ) {
    431         mutateAll( varArgsType->get_forall(), *this );
    432         return varArgsType;
    433 }
    434 
    435423Initializer *Mutator::mutate( SingleInit *singleInit ) {
    436424        singleInit->set_value( singleInit->get_value()->acceptMutator( *this ) );
Note: See TracChangeset for help on using the changeset viewer.