Some work on `find references of a symbol'.

This commit is contained in:
Roberto Raggi
2009-09-25 14:19:43 +02:00
parent 20ff553b59
commit b3cf5ae50a
4 changed files with 90 additions and 73 deletions

View File

@@ -56,6 +56,7 @@ public:
static Symbol *canonicalSymbol(Symbol *symbol);
static Symbol *canonicalSymbol(const QList<Symbol *> &candidates);
static Symbol *canonicalSymbol(const QList<QPair<FullySpecifiedType, Symbol *> > &candidates); // ### FIXME
QList<Symbol *> resolve(Name *name) const
{ return resolve(name, visibleScopes()); }