Changeset 9490621 for src/AST/Decl.cpp


Ignore:
Timestamp:
Feb 11, 2022, 11:00:35 AM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
51b8582
Parents:
5910fc0
Message:

My work in progress implementation of ForallPointerDecay? for Fangren.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Decl.cpp

    r5910fc0 r9490621  
    3939        if ( uniqueId ) return;  // ensure only set once
    4040        uniqueId = ++lastUniqueId;
    41         idMap[ uniqueId ] = this;
     41        //idMap[ uniqueId ] = this;
    4242}
    4343
    4444readonly<Decl> Decl::fromId( UniqueId id ) {
     45        assert( false );
    4546        IdMapType::const_iterator i = idMap.find( id );
    4647        if ( i != idMap.end() ) return i->second;
Note: See TracChangeset for help on using the changeset viewer.