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

@@ -78,7 +78,7 @@ const int LineInfo::SmallRoof = 40;
const int LineInfo::BigRoof = 400;
LineInfo::LineInfo()
: braceX(QRegExp(QLatin1String("^\\s*\\}\\s*(?:else|catch)\\b")))
: braceX(QRegularExpression("^\\s*\\}\\s*(?:else|catch)\\b"))
{
/*
The "linizer" is a group of functions and variables to iterate