forked from qt-creator/qt-creator
Removed deprecated code.
This commit is contained in:
@@ -125,15 +125,7 @@ void ResolveExpression::addResult(const FullySpecifiedType &ty, Symbol *symbol)
|
|||||||
symbol = _context.thisDocument()->globalNamespace();
|
symbol = _context.thisDocument()->globalNamespace();
|
||||||
}
|
}
|
||||||
|
|
||||||
return addResult(LookupItem(ty, symbol));
|
_results.append(LookupItem(ty, symbol));
|
||||||
}
|
|
||||||
|
|
||||||
void ResolveExpression::addResult(const LookupItem &r)
|
|
||||||
{
|
|
||||||
Q_ASSERT(r.lastVisibleSymbol() != 0);
|
|
||||||
|
|
||||||
if (! _results.contains(r))
|
|
||||||
_results.append(r);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ResolveExpression::visit(BinaryExpressionAST *ast)
|
bool ResolveExpression::visit(BinaryExpressionAST *ast)
|
||||||
|
|||||||
@@ -69,7 +69,6 @@ protected:
|
|||||||
void thisObject();
|
void thisObject();
|
||||||
|
|
||||||
void addResult(const FullySpecifiedType &ty, Symbol *symbol = 0);
|
void addResult(const FullySpecifiedType &ty, Symbol *symbol = 0);
|
||||||
void addResult(const LookupItem &result);
|
|
||||||
|
|
||||||
void addResults(const QList<Symbol *> &symbols);
|
void addResults(const QList<Symbol *> &symbols);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user