forked from qt-creator/qt-creator
C++: Fix an infinite loop in reportResult.
Done-with: Roberto Raggi
This commit is contained in:
@@ -135,7 +135,7 @@ void FindUsages::reportResult(unsigned tokenIndex, const Name *name, Scope *scop
|
|||||||
|
|
||||||
void FindUsages::reportResult(unsigned tokenIndex, const Identifier *id, Scope *scope)
|
void FindUsages::reportResult(unsigned tokenIndex, const Identifier *id, Scope *scope)
|
||||||
{
|
{
|
||||||
reportResult(tokenIndex, id, scope);
|
reportResult(tokenIndex, static_cast<const Name *>(id), scope);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FindUsages::reportResult(unsigned tokenIndex, const QList<LookupItem> &candidates)
|
void FindUsages::reportResult(unsigned tokenIndex, const QList<LookupItem> &candidates)
|
||||||
|
Reference in New Issue
Block a user