Ignore:
Timestamp:
Feb 9, 2016, 3:25:05 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
7528ba1
Parents:
771b3c3 (diff), bd85400 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ctor

Conflicts:

src/CodeGen/CodeGenerator.cc
src/GenPoly/Box.cc
src/Makefile.in
src/Parser/ParseNode.h
src/Parser/parser.cc
src/Parser/parser.yy
src/SymTab/Validate.cc
src/SynTree/Initializer.h
src/SynTree/ObjectDecl.cc
src/SynTree/Visitor.h
src/main.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Mutator.cc

    r771b3c3 rd63eeb0  
    2222#include "Expression.h"
    2323#include "Constant.h"
    24 #include "utility.h"
     24#include "Common/utility.h"
    2525
    2626Mutator::Mutator() {}
     
    259259        }
    260260        return alignofExpr;
     261}
     262
     263Expression *Mutator::mutate( UntypedOffsetofExpr *offsetofExpr ) {
     264        mutateAll( offsetofExpr->get_results(), *this );
     265        offsetofExpr->set_type( maybeMutate( offsetofExpr->get_type(), *this ) );
     266        return offsetofExpr;
     267}
     268
     269Expression *Mutator::mutate( OffsetofExpr *offsetofExpr ) {
     270        mutateAll( offsetofExpr->get_results(), *this );
     271        offsetofExpr->set_type( maybeMutate( offsetofExpr->get_type(), *this ) );
     272        offsetofExpr->set_member( maybeMutate( offsetofExpr->get_member(), *this ) );
     273        return offsetofExpr;
    261274}
    262275
Note: See TracChangeset for help on using the changeset viewer.