Changeset 95d09bdb


Ignore:
Timestamp:
Jul 17, 2018, 9:59:25 AM (3 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
56fba87
Parents:
6da4924
Message:

Hoist aggregates defined as part of a compound literal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Validate.cc

    r6da4924 r95d09bdb  
    8585                void previsit( AlignofExpr * );
    8686                void previsit( UntypedOffsetofExpr * );
     87                void previsit( CompoundLiteralExpr * );
    8788                void handleType( Type * );
    8889        };
     
    348349        void HoistTypeDecls::previsit( UntypedOffsetofExpr * expr ) {
    349350                handleType( expr->type );
     351        }
     352
     353        void HoistTypeDecls::previsit( CompoundLiteralExpr * expr ) {
     354                handleType( expr->result );
    350355        }
    351356
Note: See TracChangeset for help on using the changeset viewer.