qt6-bb10/tests/auto/tools
Fabian Kosmale 1be6e99b55 moc: Do not get confused by constexpr token in functions
Surprisingly, moc had no awareness of constexpr at all. This would still
mostly work, as we were just skipping it, except for the case where
constexpr appears as the last keyword – in which case we'd pick it up as
the type name.

Fix this by adding constexpr as a known token, and add it to the list of things we ignore in testForFunctionModifiers.

Pick-to: 6.5
Fixes: QTBUG-122609
Change-Id: I0ae0c0477e611ff83fbb841233035bea52216be2
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 984ad9019a62a9a130647dbd765e38ee2e6250c1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-11-29 14:47:56 +00:00
..
macdeployqt Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
moc moc: Do not get confused by constexpr token in functions 2024-11-29 14:47:56 +00:00
qdbuscpp2xml CMake: Build dbus tools when building dbus tests 2024-06-12 12:23:45 +00:00
qdbusxml2cpp CMake: Build dbus tools when building dbus tests 2024-06-12 12:23:45 +00:00
qmake Add REUSE.toml files 2024-11-07 08:38:49 +01:00
qmakelib tst_qmakelib: Account for test directory with spaces in system() test 2024-07-03 18:57:34 +00:00
qt_cmake_create Tests: Reduce the number of module includes 2024-11-04 19:42:27 +00:00
rcc Bump version to 6.8.2 2024-11-14 15:04:34 +00:00
uic Add REUSE.toml files 2024-11-07 08:38:49 +01:00
windeployqt Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt tests/tools: only run qdbus{cpp2xml,xml2cpp} tests if D-Bus is available 2023-08-14 20:19:36 -07:00