Removed deprecated code.

This commit is contained in:
Roberto Raggi
2010-05-12 11:18:47 +02:00
parent 478d3ffdd1
commit 140756eef4
2 changed files with 1 additions and 10 deletions

View File

@@ -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)

View File

@@ -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);