Changeset 582ee28 for src/SymTab


Ignore:
Timestamp:
Oct 19, 2017, 11:15:35 AM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
9dbf7c8
Parents:
ab4bff5
git-author:
Rob Schluntz <rschlunt@…> (10/17/17 12:09:24)
git-committer:
Rob Schluntz <rschlunt@…> (10/19/17 11:15:35)
Message:

Fix unique id for union field constructor parameter, small cleanup in CopyParams?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Autogen.cc

    rab4bff5 r582ee28  
    523523                        FunctionDecl * ctor = genFunc( "?{}", memCtorType->clone(), functionNesting );
    524524                        ObjectDecl * srcParam = strict_dynamic_cast<ObjectDecl *>( ctor->type->parameters.back() );
     525                        srcParam->fixUniqueId();
    525526                        ObjectDecl * dstParam = InitTweak::getParamThis( ctor->type );
    526527                        makeMemberOp( srcParam, dstParam, back_inserter( ctor->statements->kids ) );
Note: See TracChangeset for help on using the changeset viewer.