qt6-bb10/tests/auto/corelib/plugin
Marc Mutz 51abd703d6 tst_QUuid: fix -Wreturn-type in make_minimal(QUuid::Version)
The code relies on -Wswitch, but lacked the Q_UNREACHABLE_RETURN() at
the end that compiler and code readers need to understand that we don't
accept values other than those enumerated, even though an enum variable
could hold other values, too.

Since the function is constexpr, can't use that macro directly, but
need to copy the usual GCC 8 magic incantation.

Amends 171ff57be1b8fd1c1b33cffbffa389790f239b5c.

Change-Id: I6c9dd0e4178211f57da61aa6df70f8036370f158
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 420ca3463ee8adf2d986af5802d8da4bb24ce14d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 760688cc754f7f84c10596345e488055ed511cfc)
2025-01-25 14:21:25 +00:00
..
qfactoryloader tst_QFactoryLoader: includemocs 2024-03-12 14:23:42 +01:00
qlibrary QLibrary/Unix: update the x86-64-v3 prefix path in our search 2024-07-11 08:27:24 +00:00
qplugin tst_QPlugin: Be specific when looking for plugins 2024-06-18 09:28:46 +00:00
qpluginloader tst_QPluginLoader: use qCpuHasFeature instead of __builtin_cpu_supports 2024-09-05 12:29:51 +00:00
quuid tst_QUuid: fix -Wreturn-type in make_minimal(QUuid::Version) 2025-01-25 14:21:25 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00