Changeset b2da0574 for src/SymTab/Validate.cc
- Timestamp:
- Apr 18, 2018, 5:15:19 PM (5 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 2ae16219
- Parents:
- f74eb47
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
rf74eb47 rb2da0574 316 316 317 317 void HoistStruct::previsit( EnumInstType * inst ) { 318 if ( inst->baseEnum ) {318 if ( inst->baseEnum && inst->baseEnum->body ) { 319 319 declsToAddBefore.push_front( inst->baseEnum ); 320 320 } … … 322 322 323 323 void HoistStruct::previsit( StructInstType * inst ) { 324 if ( inst->baseStruct ) {324 if ( inst->baseStruct && inst->baseStruct->body ) { 325 325 declsToAddBefore.push_front( inst->baseStruct ); 326 326 } … … 328 328 329 329 void HoistStruct::previsit( UnionInstType * inst ) { 330 if ( inst->baseUnion ) {330 if ( inst->baseUnion && inst->baseUnion->body ) { 331 331 declsToAddBefore.push_front( inst->baseUnion ); 332 332 }
Note: See TracChangeset
for help on using the changeset viewer.