Ignore:
Timestamp:
Apr 19, 2018, 5:54:41 PM (7 years ago)
Author:
Aaron Moss <a3moss@…>
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.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    re16294d rb03eed6  
    316316
    317317        void HoistStruct::previsit( EnumInstType * inst ) {
    318                 if ( inst->baseEnum ) {
     318                if ( inst->baseEnum && inst->baseEnum->body ) {
    319319                        declsToAddBefore.push_front( inst->baseEnum );
    320320                }
     
    322322
    323323        void HoistStruct::previsit( StructInstType * inst ) {
    324                 if ( inst->baseStruct ) {
     324                if ( inst->baseStruct && inst->baseStruct->body ) {
    325325                        declsToAddBefore.push_front( inst->baseStruct );
    326326                }
     
    328328
    329329        void HoistStruct::previsit( UnionInstType * inst ) {
    330                 if ( inst->baseUnion ) {
     330                if ( inst->baseUnion && inst->baseUnion->body ) {
    331331                        declsToAddBefore.push_front( inst->baseUnion );
    332332                }
Note: See TracChangeset for help on using the changeset viewer.