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