qt6-bb10/tests/auto/corelib/global
Ivan Solovev de16185068 Comparison helper macros: add an Attributes parameter
Some of relational operators in Qt are marked with QT_ASCII_CAST_WARN
(see e.g. String, QLatin1StringView).
If we want to convert these operators to the new comparison helper
macros, we need a way to preserve this attribute.
My tests show that simply adding the attribute to the helper
comparesEqual() and compareThreeWay() functions does not work, so we
need to explicitly add it to each of the generated operators.

Change-Id: I2940a70fe191326e8a2ebfb05b8da6e0f21a845c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2024-02-20 01:04:33 +01:00
..
q20 Change license for tests files 2024-02-04 09:56:42 +01:00
q_func_info Change license for tests files 2024-02-04 09:56:42 +01:00
qcompare Change license for tests files 2024-02-04 09:56:42 +01:00
qcomparehelpers Comparison helper macros: add an Attributes parameter 2024-02-20 01:04:33 +01:00
qflags Change license for tests files 2024-02-04 09:56:42 +01:00
qfloat16 Change license for tests files 2024-02-04 09:56:42 +01:00
qgetputenv Change license for tests files 2024-02-04 09:56:42 +01:00
qglobal Change license for tests files 2024-02-04 09:56:42 +01:00
qglobalstatic Change license for tests files 2024-02-04 09:56:42 +01:00
qhooks Change license for tests files 2024-02-04 09:56:42 +01:00
qkeycombination Change license for tests files 2024-02-04 09:56:42 +01:00
qlogging Change license for tests files 2024-02-04 09:56:42 +01:00
qnativeinterface Change license for tests files 2024-02-04 09:56:42 +01:00
qnumeric Change license for tests files 2024-02-04 09:56:42 +01:00
qoperatingsystemversion Change license for tests files 2024-02-04 09:56:42 +01:00
qrandomgenerator Change license for tests files 2024-02-04 09:56:42 +01:00
qtendian Change license for tests files 2024-02-04 09:56:42 +01:00
qxp Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Implement compare helper macros 2023-11-28 20:30:19 +00:00