Ignore:
Timestamp:
Apr 28, 2015, 4:21:36 PM (10 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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:
42e2ad7
Parents:
ad17ba6a
Message:

fixed sizeof type variable, find lowest cost alternative for sizeof expression, removed unused classes, added compiler flag, remove temporary file for -CFA, formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • translator/SymTab/Indexer.cc

    rad17ba6a rbdd516a  
    162162    }
    163163
     164    DeclarationWithType* Indexer::lookupId( const std::string &id) const {
     165        return idTable.lookupId(id);
     166    }
     167
    164168    NamedTypeDecl *Indexer::lookupType( const std::string &id ) const {
    165169        return typeTable.lookup( id );
     
    216220
    217221    void Indexer::print( std::ostream &os, int indent ) const {
     222        using std::cerr;
     223        using std::endl;
     224
     225        cerr << "===idTable===" << endl;
     226        idTable.dump( os );
     227        cerr << "===typeTable===" << endl;
     228        typeTable.dump( os );
     229        cerr << "===structTable===" << endl;
     230        structTable.dump( os );
     231        cerr << "===enumTable===" << endl;
     232        enumTable.dump( os );
     233        cerr << "===unionTable===" << endl;
     234        unionTable.dump( os );
     235        cerr << "===contextTable===" << endl;
     236        contextTable.dump( os );
     237#if 0
    218238        idTable.dump( os );
    219239        typeTable.dump( os );
     
    222242        unionTable.dump( os );
    223243        contextTable.dump( os );
     244#endif
    224245    }
    225246} // namespace SymTab
Note: See TracChangeset for help on using the changeset viewer.