Changeset 446dde5 for src/AST/Print.cpp


Ignore:
Timestamp:
Mar 25, 2025, 7:53:02 PM (9 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
379b6ea
Parents:
d73e667
Message:

Removed two unused fields from StmtExpr, returnDecls and dtors, and refactored computeResult to set resultExpr when it can be found at that time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Print.cpp

    rd73e667 r446dde5  
    14061406                os << "Statement Expression:" << endl << indent;
    14071407                safe_print( node->stmts );
    1408                 if ( ! node->returnDecls.empty() ) {
    1409                         os << indent << "... with returnDecls: ";
    1410                         printAll( node->returnDecls );
    1411                 }
    1412                 if ( ! node->dtors.empty() ) {
    1413                         os << indent << "... with dtors: ";
    1414                         printAll( node->dtors );
    1415                 }
    14161408                --indent;
    14171409                postprint( node );
Note: See TracChangeset for help on using the changeset viewer.