Changes in src/SynTree/Expression.h [20de6fb:0e315a5]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.h
r20de6fb r0e315a5 62 62 InferredParams inferParams; ///< Post-resolution inferred parameter slots 63 63 std::vector<UniqueId> resnSlots; ///< Pre-resolution inferred parameter slots 64 64 65 65 // xxx - should turn inferParams+resnSlots into a union to save some memory 66 66 … … 593 593 class ImplicitCopyCtorExpr : public Expression { 594 594 public: 595 ApplicationExpr * callExpr; 596 std::list< ObjectDecl * > tempDecls; 597 std::list< ObjectDecl * > returnDecls; 598 std::list< Expression * > dtors; 595 ApplicationExpr * callExpr = nullptr; 599 596 600 597 ImplicitCopyCtorExpr( ApplicationExpr * callExpr ); 601 598 ImplicitCopyCtorExpr( const ImplicitCopyCtorExpr & other ); 602 599 virtual ~ImplicitCopyCtorExpr(); 603 604 ApplicationExpr * get_callExpr() const { return callExpr; }605 void set_callExpr( ApplicationExpr * newValue ) { callExpr = newValue; }606 607 std::list< ObjectDecl * > & get_tempDecls() { return tempDecls; }608 std::list< ObjectDecl * > & get_returnDecls() { return returnDecls; }609 std::list< Expression * > & get_dtors() { return dtors; }610 600 611 601 virtual ImplicitCopyCtorExpr * clone() const { return new ImplicitCopyCtorExpr( * this ); } … … 753 743 std::list< ObjectDecl * > returnDecls; // return variable(s) for stmt expression 754 744 std::list< Expression * > dtors; // destructor(s) for return variable(s) 745 746 // readonly 747 ExprStmt * resultExpr = nullptr; 755 748 756 749 StmtExpr( CompoundStmt * statements );
Note: See TracChangeset
for help on using the changeset viewer.