Changeset b03eed6 for src/SymTab/Validate.cc
- Timestamp:
- Apr 19, 2018, 5:54:41 PM (7 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:
- 8633f060
- Parents:
- e16294d (diff), da9d79b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
re16294d rb03eed6 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.