qt5base-lts/tests/auto/corelib
Marc Mutz cafefd1d33 QStringView/QLatin1String: add trimmed()
... using the same qt_trimmed(), qTrimmed(), Q..::trimmed() split we've
been using for all other out-of-line string-view member functions to
avoid forcing string-view objects onto the stack for the passing of 'this'.

In the test, had to fix nullness not being propagated from a QByteArray
to the QLatin1String constructed from it. Probably worth fixing in
QLatin1String(QByteArray), too.

[ChangeLog][QtCore] Added qTrimmed() free functions.

[ChangeLog][QtCore][QLatin1String] Added trimmed() function.

Change-Id: I73c18ef87e203f30f7552c10dd5c84223bcfae0e
Reviewed-by: Anton Kudryavtsev <antkudr@mail.ru>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2017-05-16 09:34:59 +00:00
..
animation Rename macos blacklisting to osx 2017-04-24 07:24:08 +00:00
codecs QTextCodec: add QStringView overloads 2017-04-06 12:05:33 +00:00
global tst_qmessagehandler: fix qMessagePattern for arm with optimizations on 2017-05-08 11:18:10 +00:00
io Merge remote-tracking branch 'origin/5.9' into dev 2017-05-07 13:08:18 +02:00
itemmodels Merge remote-tracking branch 'origin/5.9' into dev 2017-05-10 10:11:57 +02:00
json Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-27 10:42:08 +02:00
kernel Merge remote-tracking branch 'origin/5.9' into dev 2017-05-10 10:11:57 +02:00
mimetypes QMimeType: add Q_GADGET 2017-05-08 06:51:29 +00:00
plugin QUuid: add fromString(QStringView/QLatin1String) 2017-04-20 17:02:44 +00:00
statemachine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
thread Merge remote-tracking branch 'origin/5.9' into dev 2017-05-07 13:08:18 +02:00
tools QStringView/QLatin1String: add trimmed() 2017-05-16 09:34:59 +00:00
xml Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
corelib.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00