Ignore:
Timestamp:
Nov 15, 2017, 2:01:08 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:
20632a2
Parents:
c95b115 (diff), 6d2386e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into unique-variable-renaming

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/InitTweak/InitTweak.cc

    rc95b115 r490db327  
    9898        class InitExpander::ExpanderImpl {
    9999        public:
     100                virtual ~ExpanderImpl() = default;
    100101                virtual std::list< Expression * > next( std::list< Expression * > & indices ) = 0;
    101102                virtual Statement * buildListInit( UntypedExpr * callExpr, std::list< Expression * > & indices ) = 0;
     
    105106        public:
    106107                InitImpl( Initializer * init ) : init( init ) {}
     108                virtual ~InitImpl() = default;
    107109
    108110                virtual std::list< Expression * > next( __attribute((unused)) std::list< Expression * > & indices ) {
     
    121123        public:
    122124                ExprImpl( Expression * expr ) : arg( expr ) {}
    123 
    124                 ~ExprImpl() { delete arg; }
     125                virtual ~ExprImpl() { delete arg; }
    125126
    126127                virtual std::list< Expression * > next( std::list< Expression * > & indices ) {
Note: See TracChangeset for help on using the changeset viewer.