Changeset 677c1be
- Timestamp:
- May 27, 2016, 3:32:57 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, with_gc
- Children:
- 10e81ac, 70f89d00, 83de11e
- Parents:
- 2a7e29b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
r2a7e29b r677c1be 385 385 386 386 void Pass2::visit( StructDecl *structDecl ) { 387 // visit struct members first so that the types of self-referencing members are updated properly 388 Parent::visit( structDecl ); 387 389 if ( ! structDecl->get_members().empty() ) { 388 390 ForwardStructsType::iterator fwds = forwardStructs.find( structDecl->get_name() ); … … 394 396 } // if 395 397 } // if 396 Indexer::visit( structDecl );397 398 } 398 399 399 400 void Pass2::visit( UnionDecl *unionDecl ) { 401 Parent::visit( unionDecl ); 400 402 if ( ! unionDecl->get_members().empty() ) { 401 403 ForwardUnionsType::iterator fwds = forwardUnions.find( unionDecl->get_name() ); … … 407 409 } // if 408 410 } // if 409 Indexer::visit( unionDecl );410 411 } 411 412
Note: See TracChangeset
for help on using the changeset viewer.