qt5base-lts/tests/auto/corelib/text
Marc Mutz 90f864a4c5 QString: remove op+=(char) and op+=(QChar::SpecialCharacter)
The former messes in bad ways with the overload set (it, fatally,
attracts char16_t, e.g.). The latter was probably added in response to
ambiguities between (char) and (QChar). While it's harmless now,
remove it, since it no longer pulls its weight.

The no-ascii warning is now coming from QChar(char), so the protection
isn't lost.

[ChangeLog][QtCore][QString] The += operators taking char and
QChar::SpecialCharacter have been removed as they cause adding a
char16_t to QString to call the char overload, losing information. The
append() function was not affected.

Change-Id: I57116314bcc71c0d9476159513c0c10048239db3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-05-13 14:38:48 +02:00
..
qbytearray Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qbytearraylist Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qbytearraymatcher Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qbytedatabuffer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qchar QChar: add fromUcs{2,4}() 2020-05-09 06:26:08 +00:00
qcollator Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qlatin1string Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qlocale Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00
qregexp Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qregularexpression QRegularExpression: rename AnchoredMatchOption to AnchorAtOffsetMatchOption 2020-04-03 21:49:57 +02:00
qstring QString: remove op+=(char) and op+=(QChar::SpecialCharacter) 2020-05-13 14:38:48 +02:00
qstring_no_cast_from_bytearray Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringapisymmetry tst_qstringapisymmetry: test split() with char16_t seps 2020-05-08 16:52:59 +02:00
qstringbuilder Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
qstringiterator Sweep of int-ish → char-ish types near calls to QString::fromU*() 2020-05-12 05:43:37 +00:00
qstringlist Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringmatcher Regenerate tests/auto/corelib/text 2019-11-12 17:26:05 +00:00
qstringref Sweep of int-ish → char-ish types near calls to QString::fromU*() 2020-05-12 05:43:37 +00:00
qstringview tst_stringview: remove dead code 2020-05-08 21:11:17 +02:00
qtextboundaryfinder Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
.prev_CMakeLists.txt Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
CMakeLists.txt Port qtbase/tests/auto/corelib/text tests to CMake 2020-04-27 14:34:51 +02:00
text.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00