diff options
| author | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-09 12:42:58 +0100 |
|---|---|---|
| committer | Ivan Solovev <ivan.solovev@qt.io> | 2024-02-20 01:04:33 +0100 |
| commit | de16185068a08e0cab8bf588c574899a19392410 (patch) | |
| tree | 16c00ac16323eb3793061c182e0058957a014476 /src/corelib/debug_script.py | |
| parent | 909d881e7539bc77ab79650782ae91372fb4ee83 (diff) | |
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>
Diffstat (limited to 'src/corelib/debug_script.py')
0 files changed, 0 insertions, 0 deletions
