qt5base-lts/tests/auto
Fabian Kosmale 8079361852 typeNameForCast: use add_pointer instead of string manipulation
Relying on string manipulation leads to -Wredundant-parens warnings in
the best case, and to non-compiling code (when using typedefs) in the
worst case.
We can avoid both issues by simply generating code that uses
add_pointer, which takes care of reference types (even typedef'd ones),
and creates no warnings about parens (as we don't write any anymore).

Fixes: QTBUG-100915
Pick-to: 6.3 6.2
Change-Id: Ic5b1cbfda20d920d11f51beeb62e9479261d5f00
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2022-02-18 13:44:41 +01:00
..
bic/data Add BC files for 6.2.0 2022-01-07 13:31:38 +00:00
cmake Bump version from 6.2.0 to 6.4.0 in tests as well 2022-01-31 17:20:06 +02:00
concurrent Fix memory leak in QtConcurrent::run when called with a NULL QThreadPool 2022-01-24 22:40:35 +01:00
corelib tst_qmessagehandler: force QProcess tests to log to stderr 2022-02-17 20:00:37 +00:00
dbus tests: Remove unused SRCDIR defines 2021-08-17 12:41:57 +00:00
gui Check if platform has enough RAM for hugeQImage test 2022-02-17 22:00:37 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
network QHttp: Move the emission of requestSent 2022-02-18 13:44:41 +01:00
opengl Remove the qmake project files 2021-01-07 15:32:28 +01:00
other A11Y tests: wrap memory allocations into smart pointers 2022-02-17 21:42:23 +01:00
printsupport QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
shared Remove false Q_UNREACHABLE from shaping code 2021-02-03 09:44:44 +01:00
sql Add spaces round operators and at starts of comment texts 2022-02-17 15:51:31 +01:00
testlib CMake: Add BUILTIN_TESTDATA option to qt_internal_add_test 2022-02-11 21:54:44 +01:00
tools typeNameForCast: use add_pointer instead of string manipulation 2022-02-18 13:44:41 +01:00
widgets CI: Blacklist updateFocusChainWhenChildDie for QNX 2022-02-17 16:08:37 +02:00
xml QDomDocument::setContent: Open device if necessary 2021-11-09 18:33:39 +01:00
CMakeLists.txt Don't build tests/auto/tools when cross-compiling 2021-10-07 08:03:40 +02:00
network-settings.h Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00