Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    rf1b1e4c r630a82a  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Mutator.cc --
     7// Mutator.cc -- 
    88//
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Apr 27 17:07:29 2016
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Apr  1 18:05:16 2016
    1313// Update Count     : 16
    1414//
     
    182182}
    183183
    184 Statement *Mutator::mutate( ImplicitCtorDtorStmt *impCtorDtorStmt ) {
    185         impCtorDtorStmt->set_callStmt( maybeMutate( impCtorDtorStmt->get_callStmt(), *this ) );
    186         return impCtorDtorStmt;
    187 }
    188 
    189184Expression *Mutator::mutate( ApplicationExpr *applicationExpr ) {
    190185        mutateAll( applicationExpr->get_results(), *this );
     
    279274}
    280275
    281 Expression *Mutator::mutate( OffsetPackExpr *offsetPackExpr ) {
    282         mutateAll( offsetPackExpr->get_results(), *this );
    283         offsetPackExpr->set_type( maybeMutate( offsetPackExpr->get_type(), *this ) );
    284         return offsetPackExpr;
    285 }
    286 
    287276Expression *Mutator::mutate( AttrExpr *attrExpr ) {
    288277        mutateAll( attrExpr->get_results(), *this );
     
    340329        asmExpr->set_operand( maybeMutate( asmExpr->get_operand(), *this ) );
    341330        return asmExpr;
    342 }
    343 
    344 Expression* Mutator::mutate( ImplicitCopyCtorExpr *impCpCtorExpr ) {
    345         impCpCtorExpr->set_callExpr( maybeMutate( impCpCtorExpr->get_callExpr(), *this ) );
    346         mutateAll( impCpCtorExpr->get_tempDecls(), *this );
    347         mutateAll( impCpCtorExpr->get_returnDecls(), *this );
    348         return impCpCtorExpr;
    349331}
    350332
     
    462444}
    463445
    464 Initializer *Mutator::mutate( ConstructorInit *ctorInit ) {
    465         ctorInit->set_ctor( maybeMutate( ctorInit->get_ctor(), *this ) );
    466         ctorInit->set_init( maybeMutate( ctorInit->get_init(), *this ) );
    467         return ctorInit;
    468 }
    469 
    470446Subrange *Mutator::mutate( Subrange *subrange ) {
    471447        return subrange;
Note: See TracChangeset for help on using the changeset viewer.