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