Changeset 9243a501
- Timestamp:
- May 4, 2016, 12:17:25 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, 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:
- 7cc6bd6, bb8ea30
- Parents:
- 60089f4
- Location:
- src/SynTree
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Expression.cc
r60089f4 r9243a501 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 12:52:40201612 // Last Modified On : Wed May 04 12:14:09 2016 13 13 // Update Count : 40 14 14 // … … 321 321 322 322 Expression *agg = get_aggregate(); 323 os << std::string( indent, ' ' ) << "from aggregate: ";323 os << ", from aggregate: "; 324 324 if (agg != 0) { 325 os << std::string( indent+2, ' ' );326 325 agg->print(os, indent + 2); 327 326 } … … 359 358 os << std::string( indent, ' ' ) << "from aggregate: " << std::endl; 360 359 if (agg != 0) { 361 os << std::string( indent+2, ' ' );362 360 agg->print(os, indent + 2); 363 361 } -
src/SynTree/FunctionDecl.cc
r60089f4 r9243a501 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // FunctionDecl.cc -- 7 // FunctionDecl.cc -- 8 8 // 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : Mon Jul 13 18:11:44 201511 // Last Modified By : Rob Schluntz 12 // Last Modified On : Tue May 03 15:37:43 2016 13 13 // Update Count : 19 14 14 // … … 52 52 using std::endl; 53 53 using std::string; 54 54 55 55 if ( get_name() != "" ) { 56 56 os << get_name() << ": "; … … 87 87 if ( statements ) { 88 88 os << string( indent + 2, ' ' ) << "with body " << endl; 89 os << string( indent + 4, ' ' ); 89 90 statements->print( os, indent + 4 ); 90 91 } // if … … 94 95 using std::endl; 95 96 using std::string; 96 97 97 98 if ( get_name() != "" ) { 98 99 os << get_name() << ": "; -
src/SynTree/ObjectDecl.cc
r60089f4 r9243a501 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 12:53:13201612 // Last Modified On : Wed May 04 12:11:56 2016 13 13 // Update Count : 30 14 14 // … … 56 56 57 57 if ( init ) { 58 os << std::string(indent, ' '); 58 59 os << " with initializer "; 59 60 init->print( os, indent ); … … 61 62 62 63 if ( bitfieldWidth ) { 64 os << std::string(indent, ' '); 63 65 os << " with bitfield width "; 64 66 bitfieldWidth->print( os );
Note: See TracChangeset
for help on using the changeset viewer.