Ignore:
Timestamp:
Aug 15, 2017, 7:00:40 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
f6582243
Parents:
db67b11
Message:

Minor cleanup, debug statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/ResolveTypeof.cc

    rdb67b11 rc93bc28  
    6060                        assert( newExpr->has_result() && ! newExpr->get_result()->isVoid() );
    6161                        Type *newType = newExpr->get_result();
     62                        newExpr->set_result( nullptr );
    6263                        delete typeofType;
     64                        delete newExpr;
    6365                        return newType;
    6466                } // if
Note: See TracChangeset for help on using the changeset viewer.