qt5base-lts/tests/auto
Marc Mutz e5acaa12e3 QObject: treat T* -> bool conversions as narrowing
Following wg21.link/LWG3228, it was found that a proper variant fix
requires that T* -> bool conversions be treated as narrowing
conversions in subclause wg21.link/dcl.init.lst. wg21.link/P1957R2 was
accepted in Prague 2020 as a DR and retroactively applies to older C++
standards.

Since we hard-code the algorithm of [dcl.init.lst], we can and must
add this manually.

[ChangeLog][QtCore][QObject] For the purposes of
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT, pointer
(incl. pointer-to-member) to bool conversions are now considered
narrowing. This matches the resolution of a defect report in C++
itself.

Change-Id: Ifa9a3724c9c8ccd3dd6614928dbbe37477591dc1
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
2020-02-26 07:48:47 +00:00
..
bic/data Add binary compatibility files for qtbase 5.14 branch 2019-12-20 10:41:11 +02:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Introduce QT_NO_LINKED_LIST and mark QtBase (almost) free of it 2019-07-12 14:26:30 +02:00
corelib QObject: treat T* -> bool conversions as narrowing 2020-02-26 07:48:47 +00:00
dbus unblacklist passing tests 2019-07-08 11:01:42 +00:00
gui QShaderGenerator: Allow more expressions in input nodes 2020-02-20 08:00:20 +01:00
guiapplauncher
installed_cmake
network tst_qtcpsocket::bind - amend the recent fix 2020-02-22 03:36:54 +01:00
opengl Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
other Flatten version-specific blacklisting on macOS to all macOS versions 2020-01-22 17:58:31 +01:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql tst_QSqlQuery: fix some tests 2019-12-10 06:27:09 +01:00
testlib Fix crash when using signaldumper and sender is deleted 2019-09-23 08:27:18 +00:00
tools uic/Python: Add imports for Q(Date)Time, QKeySequence 2020-02-06 17:46:21 +01:00
widgets tests/xcb: fix tst_QWidget::updateWhileMinimized() on mutter/GNOME Shell 2020-02-25 18:58:17 +01:00
xml QDom: use QLocale::C when converting a double to a xml attribute 2019-11-19 17:33:33 +01:00
auto.pro
network-settings.h Autotest: adapt to certain OSes always allowing binding to low ports 2020-02-13 15:11:21 -08:00