qt5base-lts/tests/auto/corelib/tools/qstringapisymmetry
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
..
.gitignore Add test for API symmetry of QString/Ref, QLatin1String, QChar 2016-03-15 08:11:35 +00:00
qstringapisymmetry.pro Enable c++17 in the QStringApiSymmetry test 2017-05-05 07:11:57 +00:00
tst_qstringapisymmetry.cpp QStringView/QLatin1String: add trimmed() 2017-05-16 09:34:59 +00:00