qt5base-lts/tests/auto/corelib
Sona Kurazyan 6bc227a06a Port QXmlStremReader to QAnyStringView
Port the constructor and addData() method to QAnyStringView, but keep
the overloads taking a QByteArray to avoid extra copies when actual
QByteArray is passed. These overlaods need to be Q_WEAK_OVERLOADs, to
avoid ambiguities (e.g. for const char * arguments).

Additionally, add a test to make sure the patch doesn't break parsing
from a QLatin1StringView input.

[ChangeLog][QtCore][QXmlStremReader] Added constructor and addData()
overloads taking QAnyStringView.

Change-Id: I0efaab82a2123271c88407e380f3c67d1099a4a6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2022-07-12 13:24:56 +02:00
..
animation Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global function_ref test: Don't take reference of temporaries 2022-06-20 19:52:01 +00:00
io Long live QDebug op<< QMetaType! 2022-07-09 06:40:08 +02:00
itemmodels Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
kernel Add support for scoped JNI callbacks 2022-07-07 13:35:08 +03:00
mimetypes Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platform Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
plugin Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
serialization Port QXmlStremReader to QAnyStringView 2022-07-12 13:24:56 +02:00
text Add wasm exception for tst_qchar 2022-07-11 17:21:27 +02:00
thread Remove uses of Q_ATOMIC_INT{8,16,32}_IS_SUPPORTED 2022-07-06 17:56:58 +02:00
time Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tools Increase timeout of slow test for ASAN-enabled build 2022-06-15 23:58:16 +02:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00