qt5base-lts/tests/auto/corelib/text
Mårten Nordheim bbe7570ddc QByteArrayView: move array size deduction feature to fromArray
1. Make the ctor unable to construct a QByteArrayView from
array literals other than 'char'.
    With the new behavior it would either be (very likely) unintended to
    pass e.g. a std::byte array to the ctor. And it would be confusing
    because you would get different sizes based on signed-ness.
2. Introduce fromArray
    Only supports array literals. Constructs a view of the full size.
    Explicit so it shouldn't be surprising.

Change-Id: Ifdb55eb21057dfe7053b2561bd81e2c9825e9bc6
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2020-09-18 23:34:49 +02:00
..
qbytearray Fix warnings coming from using the deprecated overload of qCheckSum 2020-09-11 19:32:34 +02:00
qbytearrayapisymmetry Fix QByteArray::count implementation for longer data 2020-07-09 18:38:33 +02:00
qbytearraylist CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qbytearraymatcher Replace Qt CONSTEXPR defines with constexpr 2020-08-14 15:52:58 +02:00
qbytearrayview QByteArrayView: move array size deduction feature to fromArray 2020-09-18 23:34:49 +02:00
qbytedatabuffer QByteDataBuffer: add readPointer functionality using QByteArrayView 2020-08-24 17:44:08 +02:00
qchar Purge Q_{STDLIB,COMPILER}_UNICODE_STRINGS 2020-09-14 09:47:51 +02:00
qcollator tst_QCollator: avoid an unused variable warning 2020-07-13 12:03:21 +02:00
qlatin1string Port QLatin1String to qsizetype and add narrow-contract substring functions 2020-08-23 10:38:01 +02:00
qlocale Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
qregularexpression Use qsizetype in QRegularExpression 2020-08-28 02:22:10 +02:00
qstring Use UTF-8 when converting 8 bit data in QTextStream 2020-09-15 08:13:27 +02:00
qstring_no_cast_from_bytearray CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringapisymmetry Long live Q{Any,Utf8}StringView! 2020-08-31 22:57:49 +02:00
qstringbuilder Purge Q_{STDLIB,COMPILER}_UNICODE_STRINGS 2020-09-14 09:47:51 +02:00
qstringconverter Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qstringiterator CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringlist CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstringmatcher Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
qstringtokenizer Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qstringview Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
qtextboundaryfinder Clean up QTextBoundaryFinder and qunicodetools 2020-09-07 09:09:55 +02:00
.prev_CMakeLists.txt Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
CMakeLists.txt Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
text.pro Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00