Changes in src/AST/SymbolTable.cpp [c92bdcc:85855b0]
- File:
-
- 1 edited
-
src/AST/SymbolTable.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/SymbolTable.cpp
rc92bdcc r85855b0 159 159 } 160 160 161 std::vector<SymbolTable::IdData> SymbolTable::lookupIdIgnoreHidden( const std::string &id ) const { 162 std::vector<IdData> out; 163 std::vector<IdData> lookupResult = lookupId(id); 164 for ( auto candidate: lookupResult) { 165 if ( candidate.id ) { 166 if (candidate.id->isHidden) continue; 167 } 168 out.push_back(candidate); 169 } 170 return out; 171 } 172 161 173 std::vector<SymbolTable::IdData> SymbolTable::specialLookupId( SymbolTable::SpecialFunctionKind kind, const std::string & otypeKey ) const { 162 174 static Stats::Counters::CounterGroup * special_stats = Stats::Counters::build<Stats::Counters::CounterGroup>("Special Lookups");
Note:
See TracChangeset
for help on using the changeset viewer.