Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Declaration.cc

    r42107b4 rf6e3e34  
    3838}
    3939
     40Declaration::~Declaration() {
     41}
     42
    4043void Declaration::fixUniqueId() {
    4144        // don't need to set unique ID twice
     
    6568}
    6669
     70AsmDecl::~AsmDecl() {
     71        delete stmt;
     72}
     73
    6774void AsmDecl::print( std::ostream &os, Indenter indent ) const {
    6875        stmt->print( os, indent );
     
    7885
    7986StaticAssertDecl::StaticAssertDecl( const StaticAssertDecl & other ) : Declaration( other ), condition( maybeClone( other.condition ) ), message( maybeClone( other.message ) )  {
     87}
     88
     89StaticAssertDecl::~StaticAssertDecl() {
     90        delete condition;
     91        delete message;
    8092}
    8193
Note: See TracChangeset for help on using the changeset viewer.