Ignore:
Timestamp:
Jan 31, 2018, 11:53:24 AM (6 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:
2cb70aa
Parents:
5a73f0f
Message:

Assign a result type to StmtExpr? after resolution [fixes #79]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.h

    r5a73f0f r5e2c348  
    728728        StmtExpr * set_statements( CompoundStmt * newValue ) { statements = newValue; return this; }
    729729
     730        // call to set the result type of this StmtExpr based on its body
     731        void computeResult();
     732
    730733        std::list< ObjectDecl * > & get_returnDecls() { return returnDecls; }
    731734        std::list< Expression * > & get_dtors() { return dtors; }
Note: See TracChangeset for help on using the changeset viewer.