Ignore:
Timestamp:
Nov 19, 2018, 5:05:12 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
40290497
Parents:
2fd9f24
Message:

First draft of deferred expression resolution; DOES NOT BUILD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/TypeEnvironment.h

    r2fd9f24 r0b00df0  
    5959        };
    6060        struct AssertionSetValue {
    61                 bool isUsed;
    62                 // chain of Unique IDs of the assertion declarations. The first ID in the chain is the ID
    63                 // of an assertion on the current type, with each successive ID being the ID of an
    64                 // assertion pulled in by the previous ID. The last ID in the chain is the ID of the
    65                 // assertion that pulled in the current assertion.
    66                 std::list< UniqueId > idChain;
     61                bool isUsed;        ///< True if assertion needs to be resolved
     62                UniqueId resnSlot;  ///< ID of slot assertion belongs to
     63
     64                AssertionSetValue() : isUsed(false), resnSlot(0) {}
    6765        };
    6866        typedef std::map< DeclarationWithType*, AssertionSetValue, AssertCompare > AssertionSet;
Note: See TracChangeset for help on using the changeset viewer.