Ignore:
Timestamp:
Aug 13, 2019, 2:03:37 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
1118b8b
Parents:
7d01cf44
Message:

Most expressions now return a hard-coded lvalue flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/TupleExpr.cc

    r7d01cf44 r14388c1  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Mar 17 09:42:29 2017
    13 // Update Count     : 3
     11// Last Modified By : Andrew Beach
     12// Last Modified On : Mon Aug 12 14:22:00 2019
     13// Update Count     : 4
    1414//
    1515
     
    7878}
    7979
     80bool TupleIndexExpr::get_lvalue() const {
     81        assert( result->get_lvalue() );
     82        return true;
     83}
     84
    8085void TupleIndexExpr::print( std::ostream &os, Indenter indent ) const {
    8186        os << "Tuple Index Expression, with tuple:" << std::endl;
Note: See TracChangeset for help on using the changeset viewer.