qt5base-lts/tests/auto/tools
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
..
macdeployqt Move macdeployqt and windeployqt from qttools to qtbase 2021-11-23 21:11:45 +01:00
moc typeNameForCast: use add_pointer instead of string manipulation 2022-02-18 13:44:41 +01:00
qdbuscpp2xml Remove unused .qrc files 2022-01-17 23:17:01 +01:00
qdbusxml2cpp Remove the qmake project files 2021-01-07 15:32:28 +01:00
qmake Add missing implicit dependencies to the tool tests 2022-02-09 15:33:46 +01:00
qmakelib Remove the qmake project files 2021-01-07 15:32:28 +01:00
rcc Add missing implicit dependencies to the tool tests 2022-02-09 15:33:46 +01:00
uic Add missing implicit dependencies to the tool tests 2022-02-09 15:33:46 +01:00
windeployqt Move macdeployqt and windeployqt from qttools to qtbase 2021-11-23 21:11:45 +01:00
CMakeLists.txt Exclude tst_qmake if the build of qmake tool is disabled 2022-02-09 15:33:46 +01:00