QmlJS: More Qt6

Mostly QRegExp, one QHash::unite.

Change-Id: Ia2816fee65b9459c0f89419161f44c38cd572c36
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2020-06-18 19:04:58 +02:00
parent 9ba3fb11f5
commit 54575fe42d
8 changed files with 26 additions and 21 deletions

View File

@@ -32,7 +32,7 @@
#include <QString>
#include <QList>
QT_FORWARD_DECLARE_CLASS(QRegExp)
QT_FORWARD_DECLARE_CLASS(QRegularExpression)
namespace QmlJS {
class DiagnosticMessage;
@@ -157,7 +157,7 @@ public:
DiagnosticMessage toDiagnosticMessage() const;
QString suppressionString() const;
static QRegExp suppressionPattern();
static QRegularExpression suppressionPattern();
SourceLocation location;
QString message;