Changeset 5d00425
- Timestamp:
- Aug 15, 2019, 3:09:03 PM (5 years ago)
- 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:
- ef22ad6
- Parents:
- 3c7f01b
- Location:
- src/SynTree
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r3c7f01b r5d00425 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : T ue Aug 13 11:31:00 201913 // Update Count : 6 312 // Last Modified On : Thr Aug 15 13:43:00 2019 13 // Update Count : 64 14 14 // 15 15 … … 646 646 result = new VoidType( Type::Qualifiers() ); 647 647 } 648 } 649 bool StmtExpr::get_lvalue() const { 650 return result->get_lvalue(); 648 651 } 649 652 void StmtExpr::print( std::ostream & os, Indenter indent ) const { -
src/SynTree/Expression.h
r3c7f01b r5d00425 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Wed Aug 14 14:24:00 201913 // Update Count : 5 312 // Last Modified On : Thr Aug 15 13:46:00 2019 13 // Update Count : 54 14 14 // 15 15 … … 777 777 virtual ~StmtExpr(); 778 778 779 bool get_lvalue() const final; 780 779 781 CompoundStmt * get_statements() const { return statements; } 780 782 StmtExpr * set_statements( CompoundStmt * newValue ) { statements = newValue; return this; }
Note: See TracChangeset
for help on using the changeset viewer.