Changeset f265042 for src/CodeGen
- Timestamp:
- Sep 25, 2017, 12:07:43 PM (7 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:
- 3aeaecd
- Parents:
- 1755226 (diff), 596bc0a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cc
r1755226 rf265042 879 879 880 880 void CodeGenerator::postvisit( CaseStmt * caseStmt ) { 881 updateLocation( caseStmt ); 882 output << indent; 881 883 if ( caseStmt->isDefault()) { 882 884 output << "default"; … … 1020 1022 } // namespace CodeGen 1021 1023 1024 std::ostream & operator<<( std::ostream & out, const BaseSyntaxNode * node ) { 1025 if ( node ) { 1026 node->print( out ); 1027 } else { 1028 out << "nullptr"; 1029 } 1030 return out; 1031 } 1032 1022 1033 // Local Variables: // 1023 1034 // tab-width: 4 //
Note: See TracChangeset
for help on using the changeset viewer.