Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r5ea7a22 r96f9ef5  
    1717#include <list>                // for list
    1818
    19 #include "Attribute.h"         // for Attribute
    2019#include "Declaration.h"       // for ObjectDecl, Declaration, DeclarationWi...
    2120#include "Expression.h"        // for Expression, ConstantExpr, ConditionalExpr
     
    3736        objectDecl->set_init( maybeMutate( objectDecl->get_init(), *this ) );
    3837        objectDecl->set_bitfieldWidth( maybeMutate( objectDecl->get_bitfieldWidth(), *this ) );
    39         mutateAll( objectDecl->attributes, *this );
    4038        return objectDecl;
    4139}
     
    4442        functionDecl->set_functionType( maybeMutate( functionDecl->get_functionType(), *this ) );
    4543        functionDecl->set_statements( maybeMutate( functionDecl->get_statements(), *this ) );
    46         mutateAll( functionDecl->attributes, *this );
    4744        return functionDecl;
    4845}
     
    621618}
    622619
    623 Attribute * Mutator::mutate( Attribute * attribute ) {
    624         mutateAll( attribute->parameters, *this );
    625         return attribute;
    626 }
    627 
    628620// Local Variables: //
    629621// tab-width: 4 //
Note: See TracChangeset for help on using the changeset viewer.