Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Expression.cc

    r3be261a r2a4b088  
    55// file "LICENCE" distributed with Cforall.
    66//
    7 // Expression.cc --
     7// Expression.cc -- 
    88//
    99// Author           : Richard C. Bilson
     
    422422}
    423423
    424 AsmExpr::AsmExpr( const AsmExpr & other ) : inout( maybeClone( other.inout ) ), constraint( maybeClone( other.constraint ) ), operand( maybeClone( other.operand ) ) {}
    425 
    426 
    427424void AsmExpr::print( std::ostream &os, int indent ) const {
    428425        os << "Asm Expression: " << std::endl;
     
    432429}
    433430
    434 UntypedValofExpr::UntypedValofExpr( const UntypedValofExpr & other ) : Expression( other ), body ( maybeClone( other.body ) ) {}
    435 
    436 UntypedValofExpr::~UntypedValofExpr() { delete body; }
    437 
    438431void UntypedValofExpr::print( std::ostream &os, int indent ) const {
    439432        os << std::string( indent, ' ' ) << "Valof Expression: " << std::endl;
     
    441434                get_body()->print( os, indent + 2 );
    442435}
    443 
    444 
    445436
    446437std::ostream & operator<<( std::ostream & out, Expression * expr ) {
Note: See TracChangeset for help on using the changeset viewer.