Commit 140756ee authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Removed deprecated code.

parent 478d3ffd
......@@ -125,15 +125,7 @@ void ResolveExpression::addResult(const FullySpecifiedType &ty, Symbol *symbol)
symbol = _context.thisDocument()->globalNamespace();
}
return addResult(LookupItem(ty, symbol));
}
void ResolveExpression::addResult(const LookupItem &r)
{
Q_ASSERT(r.lastVisibleSymbol() != 0);
if (! _results.contains(r))
_results.append(r);
_results.append(LookupItem(ty, symbol));
}
bool ResolveExpression::visit(BinaryExpressionAST *ast)
......
......@@ -69,7 +69,6 @@ protected:
void thisObject();
void addResult(const FullySpecifiedType &ty, Symbol *symbol = 0);
void addResult(const LookupItem &result);
void addResults(const QList<Symbol *> &symbols);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment