Changeset a32b204 for translator/Parser/DeclarationNode.cc
- Timestamp:
- May 17, 2015, 1:19:35 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, string, with_gc
- Children:
- 0dd3a2f
- Parents:
- b87a5ed
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/Parser/DeclarationNode.cc
rb87a5ed ra32b204 531 531 TypeData *prevBase = type; 532 532 TypeData *curBase = type->base; 533 while ( curBase != 0 ) {533 while ( curBase != 0 ) { 534 534 prevBase = curBase; 535 535 curBase = curBase->base; … … 591 591 assert( a ); 592 592 TypeData *cur = a; 593 while ( cur->base ) {593 while ( cur->base ) { 594 594 cur = cur->base; 595 595 } … … 660 660 DeclarationNode *newnode = new DeclarationNode; 661 661 TypeData *srcType = type; 662 while ( srcType->base ) {662 while ( srcType->base ) { 663 663 srcType = srcType->base; 664 664 } … … 686 686 if ( type ) { 687 687 TypeData *srcType = type; 688 while ( srcType->base ) {688 while ( srcType->base ) { 689 689 srcType = srcType->base; 690 690 } … … 763 763 std::back_insert_iterator< std::list< Declaration* > > out( outputList ); 764 764 const DeclarationNode *cur = firstNode; 765 while ( cur ) {765 while ( cur ) { 766 766 try { 767 767 if ( DeclarationNode *extr = cur->extractAggregate() ) { … … 790 790 std::back_insert_iterator< std::list< DeclarationWithType* > > out( outputList ); 791 791 const DeclarationNode *cur = firstNode; 792 while ( cur ) {792 while ( cur ) { 793 793 try { 794 794 /// if ( DeclarationNode *extr = cur->extractAggregate() ) { … … 827 827 std::back_insert_iterator< std::list< Type* > > out( outputList ); 828 828 const DeclarationNode *cur = firstNode; 829 while ( cur ) {829 while ( cur ) { 830 830 try { 831 831 *out++ = cur->buildType();
Note: See TracChangeset
for help on using the changeset viewer.