Changeset 84bb4d9
- Timestamp:
- Apr 27, 2016, 5:37:06 PM (9 years ago)
- 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, with_gc
- Children:
- a0fdbd5
- Parents:
- 1ad1c99e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Initializer.cc
r1ad1c99e r84bb4d9 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue Apr 26 1 2:57:34201612 // Last Modified On : Tue Apr 26 15:51:35 2016 13 13 // Update Count : 28 14 14 // … … 93 93 94 94 void ConstructorInit::print( std::ostream &os, int indent ) { 95 os << std::endl << std::string(indent, ' ') << "Constructor initializer: " ;95 os << std::endl << std::string(indent, ' ') << "Constructor initializer: " << std::endl; 96 96 if ( ctor ) { 97 os << " initially constructed with "; 98 ctor->print( os, indent+2 ); 97 os << std::string(indent+2, ' '); 98 os << "initially constructed with "; 99 ctor->print( os, indent+4 ); 99 100 } // if 100 101 101 102 if ( dtor ) { 102 os << " destructed with "; 103 dtor->print( os, indent+2 ); 103 os << std::string(indent+2, ' '); 104 os << "destructed with "; 105 dtor->print( os, indent+4 ); 104 106 } 105 107 106 108 if ( init ) { 107 os << " with fallback C-style initializer: "; 108 init->print( os, indent+2 ); 109 os << std::string(indent+2, ' '); 110 os << "with fallback C-style initializer: "; 111 init->print( os, indent+4 ); 109 112 } 110 113 }
Note: See TracChangeset
for help on using the changeset viewer.