Changes in src/SymTab/Indexer.cc [6e50a6b:07de76b]
- File:
-
- 1 edited
-
src/SymTab/Indexer.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Indexer.cc
r6e50a6b r07de76b 74 74 } 75 75 76 Indexer::Indexer( bool trackIdentifiers)76 Indexer::Indexer() 77 77 : idTable(), typeTable(), structTable(), enumTable(), unionTable(), traitTable(), 78 prevScope(), scope( 0 ), repScope( 0 ) , trackIdentifiers( trackIdentifiers ){ ++* stats().count; }78 prevScope(), scope( 0 ), repScope( 0 ) { ++* stats().count; } 79 79 80 80 Indexer::~Indexer() { … … 110 110 111 111 void Indexer::lookupId( const std::string & id, std::list< IdData > &out ) const { 112 assert( trackIdentifiers );113 114 112 ++* stats().lookup_calls; 115 113 if ( ! idTable ) return; … … 436 434 const Declaration * deleteStmt ) { 437 435 ++* stats().add_calls; 438 if ( ! trackIdentifiers ) return;439 436 const std::string &name = decl->name; 440 437 if ( name == "" ) return;
Note:
See TracChangeset
for help on using the changeset viewer.