Changeset 2a6292d for src/SymTab


Ignore:
Timestamp:
Aug 21, 2018, 3:59:45 PM (6 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
305581d
Parents:
cdbab55
Message:

Resolve with expressions earlier to ensure new local variables are present before other user-code is resolved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    rcdbab55 r2a6292d  
    322322                Concurrency::implementThreadStarter( translationUnit );
    323323                mutateAll( translationUnit, compoundliteral );
     324                ResolvExpr::resolveWithExprs( translationUnit ); // must happen before FixObjectType because user-code is resolved and may contain with variables
    324325                FixObjectType::fix( translationUnit );
    325326                ArrayLength::computeLength( translationUnit );
Note: See TracChangeset for help on using the changeset viewer.