Changeset 33e6a2cc for src/SynTree/Expression.cc
- Timestamp:
- Feb 26, 2016, 3:59:15 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 540ddb7d
- Parents:
- 931dd12 (diff), ac1ed49 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r931dd12 r33e6a2cc 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // Expression.cc -- 7 // Expression.cc -- 8 8 // 9 9 // Author : Richard C. Bilson … … 422 422 } 423 423 424 AsmExpr::AsmExpr( const AsmExpr & other ) : inout( maybeClone( other.inout ) ), constraint( maybeClone( other.constraint ) ), operand( maybeClone( other.operand ) ) {} 425 426 424 427 void AsmExpr::print( std::ostream &os, int indent ) const { 425 428 os << "Asm Expression: " << std::endl; … … 429 432 } 430 433 434 UntypedValofExpr::UntypedValofExpr( const UntypedValofExpr & other ) : Expression( other ), body ( maybeClone( other.body ) ) {} 435 436 UntypedValofExpr::~UntypedValofExpr() { delete body; } 437 431 438 void UntypedValofExpr::print( std::ostream &os, int indent ) const { 432 439 os << std::string( indent, ' ' ) << "Valof Expression: " << std::endl; … … 434 441 get_body()->print( os, indent + 2 ); 435 442 } 443 444 436 445 437 446 std::ostream & operator<<( std::ostream & out, Expression * expr ) {
Note: See TracChangeset
for help on using the changeset viewer.