Ignore:
Timestamp:
Mar 16, 2018, 5:15:02 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
8d7bef2
Parents:
6171841
git-author:
Aaron Moss <a3moss@…> (03/16/18 17:04:24)
git-committer:
Aaron Moss <a3moss@…> (03/16/18 17:15:02)
Message:

First pass at delete removal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/ApplicationExpr.cc

    r6171841 r68f9c43  
    4343}
    4444
    45 ParamEntry::~ParamEntry() {
    46         delete actualType;
    47         delete formalType;
    48         delete expr;
    49 }
    50 
    5145ApplicationExpr::ApplicationExpr( Expression *funcExpr, const std::list<Expression *> & args ) : function( funcExpr ), args( args ) {
    5246        PointerType *pointer = strict_dynamic_cast< PointerType* >( funcExpr->get_result() );
     
    6155                Expression( other ), function( maybeClone( other.function ) ) {
    6256        cloneAll( other.args, args );
    63 }
    64 
    65 ApplicationExpr::~ApplicationExpr() {
    66         delete function;
    67         deleteAll( args );
    6857}
    6958
Note: See TracChangeset for help on using the changeset viewer.