Changeset 3c7f01b


Ignore:
Timestamp:
Aug 14, 2019, 3:46:35 PM (5 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
143e6f3, 5c4a473, 5d00425
Parents:
a74554af
Message:

Hopefully that is the last override to get_lvalue we will need.

Location:
src/SynTree
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.h

    ra74554af r3c7f01b  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Tue Aug 13 11:30:00 2019
    13 // Update Count     : 52
     12// Last Modified On : Wed Aug 14 14:24:00 2019
     13// Update Count     : 53
    1414//
    1515
     
    705705        virtual ~TupleExpr();
    706706
     707        bool get_lvalue() const final;
     708
    707709        std::list<Expression*>& get_exprs() { return exprs; }
    708710
  • src/SynTree/TupleExpr.cc

    ra74554af r3c7f01b  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Andrew Beach
    12 // Last Modified On : Mon Aug 12 14:22:00 2019
    13 // Update Count     : 4
     12// Last Modified On : Wed Aug 14 14:34:00 2019
     13// Update Count     : 5
    1414//
    1515
     
    5555TupleExpr::~TupleExpr() {
    5656        deleteAll( exprs );
     57}
     58
     59bool TupleExpr::get_lvalue() const {
     60        return result->get_lvalue();
    5761}
    5862
Note: See TracChangeset for help on using the changeset viewer.