Ignore:
Timestamp:
Sep 12, 2017, 5:48:44 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:
a506df4
Parents:
a0c7dc36
Message:

Remove NullStmt? inheritance from CompoundStmt?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Statement.cc

    ra0c7dc36 r70d826c  
    472472}
    473473
    474 NullStmt::NullStmt( std::list<Label> labels ) : CompoundStmt( labels ) {}
    475 NullStmt::NullStmt() : CompoundStmt( std::list<Label>() ) {}
     474NullStmt::NullStmt( std::list<Label> labels ) : Statement( labels ) {}
     475NullStmt::NullStmt() : Statement( std::list<Label>() ) {}
    476476
    477477void NullStmt::print( std::ostream &os, __attribute__((unused)) int indent ) const {
Note: See TracChangeset for help on using the changeset viewer.