Changeset b1a6d6b for translator/SymTab


Ignore:
Timestamp:
May 14, 2015, 12:19:46 PM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
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, string, with_gc
Children:
4bf5298
Parents:
d4778a6
Message:

removed duplicate adapters, switch to c99 for initializer declarations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/SymTab/Validate.cc

    rd4778a6 rb1a6d6b  
    155155    };
    156156
    157     void validate( std::list< Declaration * > &translationUnit, bool doDebug, const Indexer *indexer ) {
     157    void validate( std::list< Declaration * > &translationUnit, bool doDebug ) {
    158158        Pass1 pass1;
    159         Pass2 pass2( doDebug, indexer );
    160         Pass3 pass3( indexer );
     159        Pass2 pass2( doDebug, 0 );
     160        Pass3 pass3( 0 );
    161161        EliminateTypedef::eliminateTypedef( translationUnit );
    162162        HoistStruct::hoistStruct( translationUnit );
     
    166166        acceptAll( translationUnit, pass3 );
    167167    }
    168 
     168   
    169169    void validateType( Type *type, const Indexer *indexer ) {
    170170        Pass1 pass1;
Note: See TracChangeset for help on using the changeset viewer.