Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Indexer.cc

    r6e50a6b r07de76b  
    7474        }
    7575
    76         Indexer::Indexer( bool trackIdentifiers )
     76        Indexer::Indexer()
    7777        : idTable(), typeTable(), structTable(), enumTable(), unionTable(), traitTable(),
    78           prevScope(), scope( 0 ), repScope( 0 ), trackIdentifiers( trackIdentifiers ) { ++* stats().count; }
     78          prevScope(), scope( 0 ), repScope( 0 ) { ++* stats().count; }
    7979
    8080        Indexer::~Indexer() {
     
    110110
    111111        void Indexer::lookupId( const std::string & id, std::list< IdData > &out ) const {
    112                 assert( trackIdentifiers );
    113 
    114112                ++* stats().lookup_calls;
    115113                if ( ! idTable ) return;
     
    436434                        const Declaration * deleteStmt ) {
    437435                ++* stats().add_calls;
    438                 if ( ! trackIdentifiers ) return;
    439436                const std::string &name = decl->name;
    440437                if ( name == "" ) return;
Note: See TracChangeset for help on using the changeset viewer.