Use addUsage() instead of addTypeUsage().

This commit is contained in:
Roberto Raggi
2010-07-16 18:00:54 +02:00
parent 5871f2bb81
commit 615381a5b1
2 changed files with 22 additions and 22 deletions

View File

@@ -83,9 +83,9 @@ protected:
void checkName(NameAST *ast);
void checkNamespace(NameAST *name);
void addTypeUsage(ClassOrNamespace *b, NameAST *ast);
void addTypeUsage(const QList<LookupItem> &candidates, NameAST *ast);
void addTypeUsage(const Use &use);
void addUsage(ClassOrNamespace *b, NameAST *ast);
void addUsage(const QList<LookupItem> &candidates, NameAST *ast);
void addUsage(const Use &use);
void checkMemberName(NameAST *ast);
void addMemberUsage(const QList<LookupItem> &candidates, NameAST *ast);
@@ -126,7 +126,7 @@ private:
QList<ScopedSymbol *> _scopes;
QList<TemplateDeclarationAST *> _templateDeclarationStack;
QList<FunctionDefinitionAST *> _functionDefinitionStack;
QVector<Use> _typeUsages;
QVector<Use> _usages;
bool _flushRequested;
unsigned _flushLine;
};