Changeset bdd516a for translator/SymTab/Indexer.cc
- Timestamp:
- Apr 28, 2015, 4:21:36 PM (10 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
translator/SymTab/Indexer.cc
rad17ba6a rbdd516a 162 162 } 163 163 164 DeclarationWithType* Indexer::lookupId( const std::string &id) const { 165 return idTable.lookupId(id); 166 } 167 164 168 NamedTypeDecl *Indexer::lookupType( const std::string &id ) const { 165 169 return typeTable.lookup( id ); … … 216 220 217 221 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 218 238 idTable.dump( os ); 219 239 typeTable.dump( os ); … … 222 242 unionTable.dump( os ); 223 243 contextTable.dump( os ); 244 #endif 224 245 } 225 246 } // namespace SymTab
Note: See TracChangeset
for help on using the changeset viewer.