qt5base-lts/tests/auto/tools/qmake
Ahmad Samir 7101dcab7a tst_qmake: compile with QT_NO_FOREACH
systemEnvironment(): the loop was iterating over a temporary; hold the
temporary in a local const auto variable and use ranged-for.

runCommand(): the container is a const&, the loop doesn't change the
container and the containers the method is called on aren't changed
during iteration.

Task-number: QTBUG-115839
Change-Id: I6687e5ff64ff8c2fa26e34abf4044b98718e65d4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-08-19 19:17:17 +03:00
..
testdata Teach qmake about digit-grouping apostrophes in numeric literals 2022-06-17 00:05:53 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
CMakeLists.txt tst_qmake: compile with QT_NO_FOREACH 2023-08-19 19:17:17 +03:00
testcompiler.cpp tst_qmake: compile with QT_NO_FOREACH 2023-08-19 19:17:17 +03:00
testcompiler.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_qmake.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00