qt5base-lts/qmake/generators
Marc Mutz 8d7e913248 qmake: eradicate Q_FOREACH loops [rvalues]
... by replacing them with C++11 range-for loops.

This is the simplest of the patch series: Q_FOREACH took a
copy, so we do, too. Except we don't, since we're just
catching the return value that comes out of the function
(RVO). We can't feed the rvalues into range-for, because
they are non-const and would thus detach.

Change-Id: I5834620bf82f3442da7b2838363d351a0fb960a0
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
2016-01-28 20:25:15 +00:00
..
mac qmake: eradicate Q_FOREACH loops [const-& returns] 2016-01-28 20:25:11 +00:00
unix qmake: eradicate Q_FOREACH loops [const-& returns] 2016-01-28 20:25:11 +00:00
win32 qmake: eradicate Q_FOREACH loops [rvalues] 2016-01-28 20:25:15 +00:00
makefile.cpp qmake: eradicate Q_FOREACH loops [const-& returns] 2016-01-28 20:25:11 +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 Updated license headers 2016-01-21 18:55:18 +00:00
xmloutput.h Updated license headers 2016-01-21 18:55:18 +00:00