Commit 1622c862 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Removed references and wantReferences from ResolveExpression.

parent 6c347a12
......@@ -203,9 +203,7 @@ ResolveExpression::ResolveExpression(const LookupContext &context)
: ASTVisitor(context.expressionDocument()->control()),
_context(context),
sem(_context.control())
{
_wantReferences = false;
}
{ }
ResolveExpression::~ResolveExpression()
{ }
......
......@@ -47,21 +47,6 @@ public:
ResolveExpression(const LookupContext &context);
virtual ~ResolveExpression();
bool wantReferences() const
{ return _wantReferences; }
void setWantReferences(bool onoff)
{ _wantReferences = onoff; }
void setDeclSymbol(Symbol *symbol)
{
references.clear();
_wantReferences = true;
_declSymbol = symbol;
}
QList<unsigned> references;
QList<Result> operator()(ExpressionAST *ast);
QList<Result> resolveMemberExpression(const QList<Result> &baseResults,
......@@ -138,7 +123,6 @@ private:
LookupContext _context;
Semantic sem;
QList<Result> _results;
bool _wantReferences;
Symbol *_declSymbol;
};
......
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