Store the declaration (if any) associated with the LookupItem.

This commit is contained in:
Roberto Raggi
2010-05-11 11:26:27 +02:00
parent 37fde0c9d4
commit 17fd33bdab
4 changed files with 41 additions and 21 deletions

View File

@@ -67,9 +67,11 @@ protected:
FullySpecifiedType instantiate(const Name *className, Symbol *candidate) const;
void thisObject();
void addResult(const FullySpecifiedType &ty, Symbol *symbol = 0);
void addResult(const LookupItem &result);
void addResults(const QList<LookupItem> &results);
void addResults(const QList<Symbol *> &symbols);
bool maybeValidPrototype(Function *funTy, unsigned actualArgumentCount) const;