cppcheck-suppress unusedFunction
| 6454 | |
| 6455 | // cppcheck-suppress unusedFunction |
| 6456 | const Scope *SymbolDatabase::findScopeByName(const std::string& name) const |
| 6457 | { |
| 6458 | auto it = std::find_if(scopeList.cbegin(), scopeList.cend(), [&](const Scope& s) { |
| 6459 | return s.className == name; |
| 6460 | }); |
| 6461 | return it == scopeList.end() ? nullptr : &*it; |
| 6462 | } |
| 6463 | |
| 6464 | //--------------------------------------------------------------------------- |
| 6465 |