Changes in src/SynTree/AggregateDecl.cc [5d125e4:4040425]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/AggregateDecl.cc
r5d125e4 r4040425 10 10 // Created On : Sun May 17 23:56:39 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jul 13 18:03:30 201613 // Update Count : 1012 // Last Modified On : Wed Mar 2 17:28:00 2016 13 // Update Count : 7 14 14 // 15 15 … … 19 19 20 20 21 AggregateDecl::AggregateDecl( const std::string &name ) : Parent( name, DeclarationNode::NoStorageClass, LinkageSpec::Cforall ) , body( false ){21 AggregateDecl::AggregateDecl( const std::string &name ) : Parent( name, DeclarationNode::NoStorageClass, LinkageSpec::Cforall ) { 22 22 } 23 23 … … 25 25 cloneAll( other.members, members ); 26 26 cloneAll( other.parameters, parameters ); 27 body = other.body;28 27 } 29 28 … … 38 37 39 38 os << typeString() << " " << get_name(); 40 os << string( indent+2, ' ' ) << "with body " << has_body() << endl;41 42 39 if ( ! parameters.empty() ) { 43 40 os << endl << string( indent+2, ' ' ) << "with parameters" << endl; … … 55 52 56 53 os << typeString() << " " << get_name(); 57 os << string( indent+2, ' ' ) << "with body " << has_body() << endl;58 59 54 if ( ! parameters.empty() ) { 60 55 os << endl << string( indent+2, ' ' ) << "with parameters" << endl;
Note: See TracChangeset
for help on using the changeset viewer.