Changeset 446dde5 for src/AST/Expr.hpp


Ignore:
Timestamp:
Mar 25, 2025, 7:53:02 PM (12 days ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
379b6ea
Parents:
d73e667
Message:

Removed two unused fields from StmtExpr?, returnDecls and dtors, and refactored computeResult to set resultExpr when it can be found at that time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/AST/Expr.hpp

    rd73e667 r446dde5  
    782782public:
    783783        ptr<CompoundStmt> stmts;
    784         std::vector<ptr<ObjectDecl>> returnDecls;  ///< return variable(s) for statement expression
    785         std::vector<ptr<Expr>> dtors;              ///< destructor(s) for return variable(s)
    786784
    787785        readonly<ExprStmt> resultExpr;
Note: See TracChangeset for help on using the changeset viewer.