Ignore:
Timestamp:
Mar 16, 2018, 5:15:02 PM (6 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/InitTweak/InitTweak.cc

    r6171841 r68f9c43  
    122122        public:
    123123                ExprImpl( Expression * expr ) : arg( expr ) {}
    124                 virtual ~ExprImpl() { delete arg; }
     124                virtual ~ExprImp() = default;
    125125
    126126                virtual std::list< Expression * > next( std::list< Expression * > & indices ) {
     
    166166
    167167        void InitExpander::clearArrayIndices() {
    168                 deleteAll( indices );
    169168                indices.clear();
    170169        }
     
    263262                build( dst, indices.begin(), indices.end(), init, back_inserter( block->get_kids() ) );
    264263                if ( block->get_kids().empty() ) {
    265                         delete block;
    266264                        return nullptr;
    267265                } else {
Note: See TracChangeset for help on using the changeset viewer.