qt5base-lts/tests/auto/corelib/tools/qstring
João Abecasis a5233b6b22 Change meaning of offset in QStringData
It used to be an index into the first element in 'd' that came after
'offset'. It is now the byte offset from the beginning of the
QStringData structure.

By no longer using an actual array to access characters, we also steer
clear of GCC bug #43247:

    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43247

This aligns this data structure with QArrayData. The intention is to
have QVector, QString and QByteArray share the same memory layout and
possibly code.

Change-Id: I4850813e1bd47c3cb670c50c9a8ccc1bff2e8597
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-02-22 09:34:26 +01:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
double_data.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstring.pro Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
tst_qstring.cpp Change meaning of offset in QStringData 2012-02-22 09:34:26 +01:00