qt6-bb10/tests/auto/gui/kernel
Thiago Macieira 14d1108d35 Deprecate Q_ASSUME()
We've known for a long time that this is producing worse code with GCC
because of how we implemented in Q_ASSUME_IMPL(). So bite the bullet and
actually deprecate the macro, replacing all extant Q_ASSUME() with
Q_ASSERT().

The replacement is in C++23. Backporting the support onto Q_ASSUME_IMPL
was previously rejected by reviewers.

[ChangeLog][Deprecation Notice] The Q_ASSUME() macro is deprecated. This
macro has different side-effects depending on the compiler used (GCC
compared to Clang and MSVC), and there are certain conditions under
which GCC is known to produce worse code than if the macro was absent.
To give a hint to the compiler for optimizations, use the C++23
[[assume]] attribute.

Change-Id: I80612a7d275c41f1baf0fffd177a3a4ad819fb2d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2023-08-14 17:36:37 -07:00
..
noqteventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaction CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qactiongroup CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qaddpostroutine CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qbackingstore CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qclipboard Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00
qcursor CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qdrag CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qfileopenevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguiapplication CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguieventdispatcher QEventDispatcher: test with glib disabled too 2023-08-11 16:45:40 +03:00
qguieventloop CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguimetatype CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguitimer CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qguivariant CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qhighdpi CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputdevice CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qinputmethod CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qkeyevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qkeysequence CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qmouseevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qmouseevent_modal CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qopenglwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpalette CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qpixelformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qrasterwindow CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qscreen CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qshortcut CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qsurfaceformat CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qtouchevent CMake: Make gui tests standalone projects 2023-07-05 15:09:32 +02:00
qwindow Deprecate Q_ASSUME() 2023-08-14 17:36:37 -07:00
CMakeLists.txt Android: Fix for checking clipboard text mime type 2023-07-12 00:53:58 +02:00