Changeset 6eb8948 for src/CodeGen
- Timestamp:
- Sep 12, 2016, 6:32:46 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f006f01
- Parents:
- 8f7cea1
- git-author:
- Rob Schluntz <rschlunt@…> (09/12/16 18:24:34)
- git-committer:
- Rob Schluntz <rschlunt@…> (09/12/16 18:32:46)
- Location:
- src/CodeGen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r8f7cea1 r6eb8948 656 656 } 657 657 658 void CodeGenerator::visit( StmtExpr * stmtExpr ) { 659 output << "("; 660 stmtExpr->get_statements()->accept( *this ); 661 output << ")"; 662 } 663 658 664 //*** Statements 659 665 void CodeGenerator::visit( CompoundStmt * compoundStmt ) { -
src/CodeGen/CodeGenerator.h
r8f7cea1 r6eb8948 73 73 virtual void visit( TypeExpr *typeExpr ); 74 74 virtual void visit( AsmExpr * ); 75 virtual void visit( StmtExpr * ); 75 76 76 77 //*** Statements
Note: See TracChangeset
for help on using the changeset viewer.