qt5base-lts/tests/auto/corelib/tools
Andrei Golubev 37e26d2b30 Extend alignment of QArrayData to std::max_align_t in allocation
Make stricter alignment requirements for the allocated header

This strict alignment allows reallocateUnaligned() to property account
for the padding occurring in cases when
alignof(QArrayData) < alignof(T) <= alignof(std::max_align_t), which
happens to be the case on e.g. 32-bit platforms with specific alignment
requirements.

This adds 4 bytes (the difference between alignof(std::max_align_t) and
sizeof(QArrayData)) of overhead for QString, QByteArray and certain QLists
on 32-bit systems.

Task-number: QTBUG-90359
Pick-to: 6.0
Change-Id: I8176a4cc79f100ee772b09425e88fe8ff3ae226a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
2021-01-26 08:01:27 +00:00
..
collections Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
containerapisymmetry Remove the qmake project files 2021-01-07 15:32:28 +01:00
qalgorithms Remove the qmake project files 2021-01-07 15:32:28 +01:00
qarraydata Remove the qmake project files 2021-01-07 15:32:28 +01:00
qbitarray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcache QCache: when overwriting, store the new cost instead of the delta 2021-01-14 10:00:01 +00:00
qcommandlineparser Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcontiguouscache Remove the qmake project files 2021-01-07 15:32:28 +01:00
qcryptographichash Remove the qmake project files 2021-01-07 15:32:28 +01:00
qduplicatetracker Remove the qmake project files 2021-01-07 15:32:28 +01:00
qeasingcurve Remove the qmake project files 2021-01-07 15:32:28 +01:00
qexplicitlyshareddatapointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qflatmap Remove the qmake project files 2021-01-07 15:32:28 +01:00
qfreelist Remove the qmake project files 2021-01-07 15:32:28 +01:00
qhash Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qhashfunctions Remove the qmake project files 2021-01-07 15:32:28 +01:00
qline Remove the qmake project files 2021-01-07 15:32:28 +01:00
qlist Extend alignment of QArrayData to std::max_align_t in allocation 2021-01-26 08:01:27 +00:00
qmacautoreleasepool Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmakearray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmap Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qmargins Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmessageauthenticationcode Remove the qmake project files 2021-01-07 15:32:28 +01:00
qoffsetstringarray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpair Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpoint Remove the qmake project files 2021-01-07 15:32:28 +01:00
qpointf Remove the qmake project files 2021-01-07 15:32:28 +01:00
qqueue Remove the qmake project files 2021-01-07 15:32:28 +01:00
qrect Remove the qmake project files 2021-01-07 15:32:28 +01:00
qringbuffer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopedvaluerollback Remove the qmake project files 2021-01-07 15:32:28 +01:00
qscopeguard Remove the qmake project files 2021-01-07 15:32:28 +01:00
qset Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
qsharedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsize Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsizef Remove the qmake project files 2021-01-07 15:32:28 +01:00
qstl Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtaggedpointer Remove the qmake project files 2021-01-07 15:32:28 +01:00
qtimeline Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvarlengtharray Remove the qmake project files 2021-01-07 15:32:28 +01:00
qversionnumber Remove the qmake project files 2021-01-07 15:32:28 +01:00
CMakeLists.txt QDuplicateTracker: add tests 2020-12-01 14:42:52 +01:00