forked from qt-creator/qt-creator
Removed deprecate overload of LookupContext::classOrNamespace().
This commit is contained in:
@@ -175,16 +175,6 @@ ClassOrNamespace *LookupContext::classOrNamespace(Symbol *symbol) const
|
||||
return bindings()->findClassOrNamespace(symbol);
|
||||
}
|
||||
|
||||
ClassOrNamespace *LookupContext::classOrNamespace(const Name *name, Symbol *lastVisibleSymbol) const
|
||||
{
|
||||
Scope *scope = _thisDocument->globalSymbols();
|
||||
|
||||
if (lastVisibleSymbol && lastVisibleSymbol->scope())
|
||||
scope = lastVisibleSymbol->scope();
|
||||
|
||||
return classOrNamespace(name, scope);
|
||||
}
|
||||
|
||||
QList<Symbol *> LookupContext::lookup(const Name *name, Scope *scope) const
|
||||
{
|
||||
QList<Symbol *> candidates;
|
||||
|
||||
Reference in New Issue
Block a user