| 6760 | //--------------------------------------------------------------------------- |
| 6761 | |
| 6762 | const Scope * SymbolDatabase::findNamespace(const Token * tok, const Scope * scope) const |
| 6763 | { |
| 6764 | const Scope * s = findScope(tok, scope); |
| 6765 | |
| 6766 | if (s) |
| 6767 | return s; |
| 6768 | if (scope->nestedIn) |
| 6769 | return findNamespace(tok, scope->nestedIn); |
| 6770 | |
| 6771 | return nullptr; |
| 6772 | } |
| 6773 | |
| 6774 | //--------------------------------------------------------------------------- |
| 6775 |
nothing calls this directly
no test coverage detected