qt5base-lts/qmake/generators
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
..
mac qmake: use reserve to optimize memory allocation. 2016-02-01 20:57:59 +00:00
unix qmake: eradicate Q_FOREACH loops [needing qAsConst()] 2016-01-28 20:25:18 +00:00
win32 QtBase: avoid uses of Java-style iterators [QHash, QMap] 2016-02-02 10:20:00 +00:00
makefile.cpp qmake: use reserve to optimize memory allocation. 2016-02-01 20:57:59 +00:00
makefile.h Merge remote-tracking branch 'origin/5.6' into dev 2016-01-26 16:27:28 +01:00
makefiledeps.cpp Add Intel copyright to files that Intel has had non-trivial contribution 2016-01-21 22:44:21 +00:00
makefiledeps.h Updated license headers 2016-01-21 18:55:18 +00:00
metamakefile.cpp Updated license headers 2016-01-21 18:55:18 +00:00
metamakefile.h Updated license headers 2016-01-21 18:55:18 +00:00
projectgenerator.cpp Updated license headers 2016-01-21 18:55:18 +00:00
projectgenerator.h Updated license headers 2016-01-21 18:55:18 +00:00
xmloutput.cpp qmake: use reserve to optimize memory allocation. 2016-02-01 20:57:59 +00:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00