qt5base-lts/qmake/generators/win32
Marc Mutz fdfd63053a QtBase: avoid uses of Java-style iterators [QHash, QMap]
Java-style iterators are slower than STL-style ones, so
they should not be used in library code.

Replaced them with C++11 range-for, STL iterators or, in
one case, qDeleteAll().

In one case, avoid a double hash lookup by using erase(it)
instead of remove(it.key()), which we can now do without
detaching, due to the new erase() taking const_iterator.

Change-Id: I96174657fed70f76120b2c9d8190b4e70d5d8179
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
2016-02-02 10:20:00 +00:00
..
cesdkhandler.cpp qmake: eradicate Q_FOREACH loops [already const] 2016-01-28 20:25:21 +00:00
cesdkhandler.h Updated license headers 2016-01-21 18:55:18 +00:00
mingw_make.cpp Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
mingw_make.h Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
msbuild_objectmodel.cpp qmake: eradicate Q_FOREACH loops [needing qAsConst()] 2016-01-28 20:25:18 +00:00
msbuild_objectmodel.h Updated license headers 2016-01-21 18:55:18 +00:00
msvc_nmake.cpp qmake: use reserve to optimize memory allocation. 2016-02-01 20:57:59 +00:00
msvc_nmake.h Updated license headers 2016-01-21 18:55:18 +00:00
msvc_objectmodel.cpp qmake: eradicate Q_FOREACH loops [needing qAsConst()] 2016-01-28 20:25:18 +00:00
msvc_objectmodel.h Updated license headers 2016-01-21 18:55:18 +00:00
msvc_vcproj.cpp QtBase: avoid uses of Java-style iterators [QHash, QMap] 2016-02-02 10:20:00 +00:00
msvc_vcproj.h Updated license headers 2016-01-21 18:55:18 +00:00
msvc_vcxproj.cpp Updated license headers 2016-01-21 18:55:18 +00:00
msvc_vcxproj.h Updated license headers 2016-01-21 18:55:18 +00:00
winmakefile.cpp qmake: use reserve to optimize memory allocation. 2016-02-01 20:57:59 +00:00
winmakefile.h Updated license headers 2016-01-21 18:55:18 +00:00