qt5base-lts/tests/auto/other
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
..
android
compiler Replace Q_ALIGNOF usage in qtbase with C++11 alignof keyword 2019-10-29 10:37:02 +01:00
gestures Deprecate constructing QFlags from a pointer 2019-11-20 19:43:38 +01:00
lancelot Fix lancelot PaintCommands for reuse 2019-11-28 19:52:16 +00:00
languagechange winrt: Fix tst_qlanguagechange 2017-06-19 07:06:00 +00:00
macgui tests: require widgets explicitly 2019-02-01 21:45:50 +00:00
macnativeevents macOS: Remove blacklist entries for no longer supported OS versions 2018-11-12 07:16:30 +00:00
macplist Remove CFBundleGetInfoString from Info.plist templates 2019-10-04 13:09:34 +00:00
networkselftest Avoid initializing QFlags with 0 or nullptr in tests 2019-11-26 09:08:51 +01:00
qabstractitemmodelutils Don't insert items into the wrong row 2019-08-13 07:34:00 +01:00
qaccessibility Merge remote-tracking branch 'origin/5.15' into dev 2019-11-25 11:30:04 +01:00
qaccessibilitylinux Fix compilation of tst_qaccessibilitylinux 2019-05-07 10:07:59 +00:00
qaccessibilitymac unblacklist passing tests 2019-07-08 11:01:42 +00:00
qcomplextext Fix two smaller bugs in the BiDi engine 2019-02-09 08:01:26 +00:00
qfocusevent QShortcut: Properly port to the new configure system 2019-10-25 12:12:39 +02:00
qnetworkaccessmanager_and_qprogressdialog Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qobjectrace Port from QAtomic::load() to loadRelaxed() 2019-06-20 20:48:59 +02:00
qprocess_and_guieventloop Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
qsharedpointer_and_qwidget
qtokenautomaton tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qvariant_common
sessionmanagement_macos Session management for macOS 2019-12-02 18:18:22 +01:00
toolsupport Inline the size and data pointer members in QString 2019-12-08 18:19:50 +01:00
xkbkeyboard platforminputcontexts: use libxkbcommon compose key API 2019-03-01 14:31:37 +00:00
other.pro Merge remote-tracking branch 'origin/5.14' into 5.15 2019-10-30 01:00:14 +01:00