Changeset 582ee28 for src/SynTree


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/SynTree/Declaration.cc

    rab4bff5 r582ee28  
    4242
    4343void Declaration::fixUniqueId() {
     44        // don't need to set unique ID twice
     45        if ( uniqueId ) return;
    4446        uniqueId = ++lastUniqueId;
    4547        idMap[ uniqueId ] = this;
Note: See TracChangeset for help on using the changeset viewer.