forked from qt-creator/qt-creator
Fixed out-of-bounds when originalSource was not explicitly supplied.
Task-number: QTCREATORBUG-3613
This commit is contained in:
@@ -75,6 +75,8 @@ protected:
|
||||
|
||||
Scope *switchScope(Scope *scope);
|
||||
|
||||
QString matchingLine(const Token &tk) const;
|
||||
|
||||
void reportResult(unsigned tokenIndex, const Name *name, Scope *scope = 0);
|
||||
void reportResult(unsigned tokenIndex, const Identifier *id, Scope *scope = 0);
|
||||
void reportResult(unsigned tokenIndex, const QList<LookupItem> &candidates);
|
||||
|
||||
Reference in New Issue
Block a user