Changes in src/Parser/DeclarationNode.cc [974906e2:1db21619]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r974906e2 r1db21619 5 5 // file "LICENCE" distributed with Cforall. 6 6 // 7 // DeclarationNode.cc -- 7 // DeclarationNode.cc -- 8 8 // 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 12:34:05 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : T hu Jan 07 13:18:02 201613 // Update Count : 1 3011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Jul 14 14:46:32 2015 13 // Update Count : 126 14 14 // 15 15 … … 96 96 os << endl << string( indent + 2, ' ' ) << "with initializer "; 97 97 initializer->printOneLine( os ); 98 os << " maybe constructed? " << initializer->get_maybeConstructed();99 100 98 } // if 101 99 … … 359 357 } // if 360 358 } 361 359 362 360 DeclarationNode *DeclarationNode::addQualifiers( DeclarationNode *q ) { 363 361 if ( q ) { … … 510 508 assert( false ); 511 509 } // switch 512 510 513 511 return this; 514 512 } … … 621 619 assert( a->type->kind == TypeData::Array ); 622 620 TypeData *lastArray = findLast( a->type ); 623 if ( type ) { 621 if ( type ) { 624 622 switch ( type->kind ) { 625 623 case TypeData::Aggregate: … … 665 663 } // if 666 664 } 667 665 668 666 DeclarationNode *DeclarationNode::addIdList( DeclarationNode *ids ) { 669 667 type = addIdListToType( type, ids ); … … 870 868 Type *DeclarationNode::buildType() const { 871 869 assert( type ); 872 870 873 871 switch ( type->kind ) { 874 872 case TypeData::Enum:
Note:
See TracChangeset
for help on using the changeset viewer.