Changeset 4bf5298 for translator/SynTree


Ignore:
Timestamp:
May 14, 2015, 1:54:02 PM (9 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
5c7fb6c
Parents:
c11e31c (diff), b1a6d6b (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:

update merged files from master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/SynTree/CompoundStmt.cc

    rc11e31c r4bf5298  
    1414using std::endl;
    1515
    16 CompoundStmt::CompoundStmt( std::list<Label> labels )
    17     : Statement( labels )
    18 {
     16CompoundStmt::CompoundStmt( std::list<Label> labels ) : Statement( labels ) {
    1917}
    2018
    21 CompoundStmt::CompoundStmt( const CompoundStmt &other )
    22     : Statement( other )
    23 {
     19CompoundStmt::CompoundStmt( const CompoundStmt &other ) : Statement( other ) {
    2420    cloneAll( other.kids, kids );
    2521}
    2622
    27 CompoundStmt::~CompoundStmt()
    28 {
     23CompoundStmt::~CompoundStmt() {
    2924    deleteAll( kids );
    3025}
    3126
    32 void
    33 CompoundStmt::print( std::ostream &os, int indent )
    34 {
    35     os << "\r" << string(indent, ' ') << "CompoundStmt Statement" << endl ;
    36     printAll( kids, os, indent + 4 );
     27void CompoundStmt::print( std::ostream &os, int indent ) {
     28    os << "\r" << string(indent, ' ') << "CompoundStmt" << endl ;
     29    printAll( kids, os, indent+2 );
    3730}
    3831
Note: See TracChangeset for help on using the changeset viewer.