qt5base-lts/tests/auto/corelib/tools
Lars Knoll 76004502ba Get rid of shared null for QByteArray, QString and QVector
As a side effect, data() can now return a nullptr. This
has the potential to cause crashes in existig code. To work
around this, return an empty string from QString::data()
and QByteArray::data() for now.

For Qt 6 (and once all our internal issues are fixed), data()
will by default return a nullptr for a null QString, but we'll
offer a #define to enable backwards compatible behavior.

Change-Id: I4f66d97ff1dce3eb99a239f1eab9106fa9b1741a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-07-06 21:29:58 +02:00
..
collections Refactor tst_Collections 2020-07-06 09:42:36 +00:00
containerapisymmetry Move implementation of QVector/List back to qlist.h 2020-06-20 20:01:33 +02:00
qalgorithms Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qarraydata Get rid of shared null for QByteArray, QString and QVector 2020-07-06 21:29:58 +02:00
qbitarray Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
qcache Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qcommandlineparser Merge remote-tracking branch 'origin/5.15' into dev 2020-05-04 17:38:40 +02:00
qcontiguouscache Extend QContiguousCache to use qsizetype for size and indices 2020-03-14 10:36:47 +01:00
qcryptographichash Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qeasingcurve Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
qexplicitlyshareddatapointer Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qflatmap Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qfreelist Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qhash Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qhashfunctions Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qline Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qlinkedlist Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qlist Get rid of shared null for QByteArray, QString and QVector 2020-07-06 21:29:58 +02:00
qmacautoreleasepool Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qmakearray Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qmap Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qmargins Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qmessageauthenticationcode Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qoffsetstringarray Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qpair QPair: add a check that SB works as expected 2020-06-24 17:49:35 +02:00
qpoint Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qpointf Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qqueue Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qrect Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qringbuffer Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
qscopedpointer Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qscopedvaluerollback Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qscopeguard Merge remote-tracking branch 'origin/5.15' into dev 2020-04-08 20:11:39 +02:00
qset Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
qsharedpointer Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00
qsize Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qsizef Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qstl Regenerate tests/auto/corelib/tools 2019-11-12 17:26:27 +00:00
qtaggedpointer QTaggedPointer: verify constexpr'ness of some ctors 2020-05-16 08:55:28 +02:00
qtimeline Merge remote-tracking branch 'origin/dev' into wip/cmake 2020-01-29 16:57:27 +01:00
qvarlengtharray QVarLengthArray: add missing move special member functions 2020-06-22 17:24:07 +00:00
qversionnumber Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
.prev_CMakeLists.txt Introduce helper class QTaggedPointer 2020-03-17 10:01:04 +01:00
CMakeLists.txt Move implementation of QVector/List back to qlist.h 2020-06-20 20:01:33 +02:00
tools.pro Move implementation of QVector/List back to qlist.h 2020-06-20 20:01:33 +02:00