forked from qt-creator/qt-creator
CppTools: Fix QStringRef and QSharedPointer related issues with Qt6
Task-number: QTCREATORBUG-24098 Change-Id: I97347ac3fb397fea8eee655e3cc4ee252c511885 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "SimpleLexer.h"
|
||||
|
||||
#include <QStringView>
|
||||
#include <QTextBlock>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QTextCursor)
|
||||
@@ -52,7 +53,7 @@ public:
|
||||
QString mid(int index) const;
|
||||
|
||||
QString text(int index) const;
|
||||
QStringRef textRef(int index) const;
|
||||
QStringView textRef(int index) const;
|
||||
// 1-based
|
||||
Token LA(int index) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user