qt5base-lts/tests/auto/corelib/text
Thiago Macieira 746ab4bbd6 Inline the size and data pointer members in QString
I'd have preferred to use QArrayDataPointer<ushort> for QString, but
that option wasn't the best one. QArrayDataPointer try to do some
operations using QArrayDataOps and that would expand to unnecessary
code. What's more, the existing code expected to be able to modify and
access the d pointer.

Instead, this commit introduces QStringPrivate (named differently from
QStringData to catch potential users), which contains the three
members. This POD class is also used in QJsonValue to store the
"inlined" QString. QHashedString in qtdeclarative will need a similar
solution.

Change-Id: I33f072158e6e2cd031d4d2ffc81f4a8dbaf4e616
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-12-08 18:19:50 +01:00
..
qbytearray Add reference-count manipulation functions to QArrayData and hide ref 2019-12-08 10:29:09 +01:00
qbytearraylist Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qbytearraymatcher Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qbytedatabuffer Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qchar Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qcollator Move a test for feature ICU from .pro to .cpp 2019-10-25 11:41:30 +02:00
qlatin1string Deprecate QStringViewLiteral 2019-08-10 22:13:49 +02:00
qlocale Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
qregexp Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qregularexpression Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
qstring Inline the size and data pointer members in QString 2019-12-08 18:19:50 +01:00
qstring_no_cast_from_bytearray Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qstringapisymmetry Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qstringbuilder Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qstringiterator Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qstringlist Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qstringmatcher Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00
qstringref Fix converting a null QStringRef to QString 2019-11-04 20:06:38 +01:00
qstringview Deprecate QStringViewLiteral 2019-08-10 22:13:49 +02:00
qtextboundaryfinder Update UCD data to Unicode 12.1.0's Revision 24 2019-10-30 17:38:02 +01:00
text.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00