forked from qt-creator/qt-creator
CPlusPlus: Dissolve some overloads of FindUsages::reportResult()
These overloads did not add any value, but were just confusing. Change-Id: Icf3f69a30e2fccc4a4695e79bcf32457b2fb481b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -70,9 +70,7 @@ protected:
|
||||
QString matchingLine(const Token &tk) const;
|
||||
|
||||
void reportResult(unsigned tokenIndex, const Name *name, Scope *scope = nullptr);
|
||||
void reportResult(unsigned tokenIndex, const Identifier *id, Scope *scope = nullptr);
|
||||
void reportResult(unsigned tokenIndex, const QList<LookupItem> &candidates);
|
||||
void reportResult(unsigned tokenIndex);
|
||||
|
||||
bool checkCandidates(const QList<LookupItem> &candidates) const;
|
||||
void checkExpression(unsigned startToken, unsigned endToken, Scope *scope = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user