Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Initializer.h

    r68f9c43 r50377a4  
    3333        Designation( const std::list< Expression * > & designators );
    3434        Designation( const Designation & other );
     35        virtual ~Designation();
    3536
    3637        std::list< Expression * > & get_designators() { return designators; }
     
    4950        Initializer( bool maybeConstructed );
    5051        Initializer( const Initializer & other );
     52        virtual ~Initializer();
    5153
    5254        bool get_maybeConstructed() { return maybeConstructed; }
     
    6870        SingleInit( Expression *value, bool maybeConstructed = false );
    6971        SingleInit( const SingleInit &other );
     72        virtual ~SingleInit();
    7073
    7174        Expression *get_value() { return value; }
     
    8891                          const std::list<Designation *> &designators = {}, bool maybeConstructed = false );
    8992        ListInit( const ListInit & other );
     93        virtual ~ListInit();
    9094
    9195        std::list<Designation *> & get_designations() { return designations; }
     
    119123        ConstructorInit( Statement * ctor, Statement * dtor, Initializer * init );
    120124        ConstructorInit( const ConstructorInit &other );
     125        virtual ~ConstructorInit();
    121126
    122127        void set_ctor( Statement * newValue ) { ctor = newValue; }
Note: See TracChangeset for help on using the changeset viewer.