qt5base-lts/src
Thiago Macieira c35a3f5190 Redo the Q_FOREACH loop control without GCC statement expressions
It's possible to do without them, which probably makes the number of
supported compilers a lot bigger: they just need to support decltype()
or __typeof__.

That includes the Intel compiler. The old code was also apparently
working, but no one had realized the old workaround for some old version
was still in place.

The loop overhead is more or less the same. I have not done benchmarks,
but inspection of the generated assembly shows more or less the same
number of instructions.

Change-Id: I32d499c84a6ddd19d994b49f17a469acb5c3a3f1
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2014-02-19 20:45:33 +01:00
..
3rdparty Update HarfBuzz-NG path on Mac 2014-02-13 09:35:29 +01:00
android Android: Add enablers for listening to activity results 2014-02-15 22:25:36 +01:00
angle Merge remote-tracking branch 'origin/stable' into dev 2014-02-07 13:07:25 +01:00
concurrent QtConcurrent: Workaround GCC bug 58800 in median calculation 2013-12-03 11:45:18 +01:00
corelib Redo the Q_FOREACH loop control without GCC statement expressions 2014-02-19 20:45:33 +01:00
dbus QDBus: replace arg-chain with multi-arg 2014-02-14 00:34:25 +01:00
gui Merge remote-tracking branch 'origin/stable' into dev 2014-02-18 14:19:36 +01:00
network Increase the number of concurrent DNS lookups. 2014-02-16 19:14:59 +01:00
opengl Dynamic GL switch on Windows 2014-02-14 10:51:44 +01:00
openglextensions Use BSD licensing for QtOpenGLExtensions instead of LGPL 2013-06-24 10:16:32 +02:00
platformsupport QOpenGLTextureBlitter: Remove Origin location for the Target rect 2014-02-16 11:06:19 +01:00
plugins Merge remote-tracking branch 'origin/stable' into dev 2014-02-18 14:19:36 +01:00
printsupport Merge remote-tracking branch 'origin/stable' into dev 2014-02-12 16:28:07 +01:00
sql Merge remote-tracking branch 'origin/stable' into dev 2014-02-07 13:07:25 +01:00
testlib Make the printing of complex Unicode in a QString prettier 2014-02-16 06:54:18 +01:00
tools Merge remote-tracking branch 'origin/stable' into dev 2014-02-17 11:39:16 +01:00
widgets Merge remote-tracking branch 'origin/stable' into dev 2014-02-18 14:19:36 +01:00
winmain WinRT winmain: handle -qdevel parameter for additional debugging tooling 2014-01-30 22:09:55 +01:00
xml expand tabs and related whitespace fixes in *.{cpp,h,qdoc} 2014-01-13 22:46:50 +01:00
src.pro Dynamic GL switch on Windows 2014-02-14 10:51:44 +01:00