QmlJS: Replace QRegExp by QRegularExpression

Task-number: QTCREATORBUG-24098
Change-Id: I70157bcbee67cf493e28b5bad97248877a25e5c6
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2020-07-17 12:13:06 +02:00
parent 9dec1680cc
commit 6e29adaae7
7 changed files with 39 additions and 33 deletions

View File

@@ -28,7 +28,7 @@
#include <qmljs/qmljs_global.h>
#include <qmljs/qmljslineinfo.h>
#include <QRegExp>
#include <QRegularExpression>
QT_FORWARD_DECLARE_CLASS(QTextBlock)
@@ -67,7 +67,7 @@ private:
int ppCommentOffset;
private:
QRegExp caseOrDefault;
QRegularExpression caseOrDefault;
};
} // namespace QmlJS