diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-15 13:19:29 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-20 01:04:33 +0100 |
| commit | 4832426d1b22099cbdacaede17a4fd50336b9ae3 (patch) | |
| tree | c0af70c22ce540ef7775b4c1a4c1f839b9a67fb9 /src/corelib/debug_script.py | |
| parent | fb50ab700600cbcdf21e5d06321f357eae4303bb (diff) | |
Add QStringView vs byte array relational operators
... by using the new comparison helper macors.
Note that by providing helper functions for QByteArrayView,
we can support all three types: QByteArray, QByteArrayView, and
const char *.
Use the regular QT_NO_CAST_FROM_ASCII and
QT_RESTRICTED_CAST_FROM_ASCII guards to disable the operators
if the cast from ASCII is forbidden.
Also use QT_ASCII_CAST_WARN on each operator.
This allows to enable related tests in tst_qstringapisymmetry.
Task-number: QTBUG-117661
Task-number: QTBUG-108805
Change-Id: I0d77c30245d8b5ac4b8cfd98d650c1885aca2005
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/debug_script.py')
0 files changed, 0 insertions, 0 deletions
