qt5base-lts/tests/auto/corelib/kernel/qobject
Giuseppe D'Angelo 3e1d03b1ea Port Q_STATIC_ASSERT(_X) to static_assert
There is no reason for keep using our macro now that we have C++17.
The macro itself is left in for the moment being, as well as its
detection logic, because it's needed for C code (not everything
supports C11 yet).  A few more cleanups will arrive in the next few
patches.

Note that this is a mere search/replace; some places were using
double braces to work around the presence of commas in a macro, no
attempt has been done to fix those.

tst_qglobal had just some minor changes to keep testing the macro.

Change-Id: I1c1c397d9f3e63db3338842bf350c9069ea57639
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-06-19 19:38:23 +02:00
..
signalbug Regenerate tests/auto/corelib/kernel 2019-11-12 17:25:04 +00:00
.gitignore tst_qobject: Fix execution in debug&release shadow builds 2018-06-26 10:56:31 +00:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
qobject.pro Remove winrt 2020-06-06 20:25:49 +02:00
test.pro tst_qobject: Use qt_test_helper functionality 2018-07-31 05:27:01 +00:00
tst_qobject.cpp Port Q_STATIC_ASSERT(_X) to static_assert 2020-06-19 19:38:23 +02:00