Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Statement.cc

    rac71a86 r8688ce1  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Aug 12 13:58:48 2016
    13 // Update Count     : 62
     12// Last Modified On : Thu Aug  4 11:25:20 2016
     13// Update Count     : 61
    1414//
    1515
     
    124124        Statement( other ), condition( maybeClone( other.condition ) ), thenPart( maybeClone( other.thenPart ) ), elsePart( maybeClone( other.elsePart ) ) {}
    125125
    126 IfStmt::~IfStmt() {
    127         delete condition;
    128         delete thenPart;
    129         delete elsePart;
    130 }
     126IfStmt::~IfStmt() {}
    131127
    132128void IfStmt::print( std::ostream &os, int indent ) const {
     
    313309}
    314310
    315 CatchStmt::CatchStmt( std::list<Label> labels, Declaration *_decl, Statement *_body, bool catchAny ) :
    316         Statement( labels ), decl ( _decl ), body( _body ), catchRest ( catchAny ) {
     311CatchStmt::CatchStmt( std::list<Label> labels, Declaration *_decl, Statement *_body, bool isCatchRest ) :
     312        Statement( labels ), decl ( _decl ), body( _body ), catchRest ( isCatchRest ) {
    317313}
    318314
Note: See TracChangeset for help on using the changeset viewer.