path: root/src/corelib
diff options
authorMarc Mutz <>2016-01-25 12:23:56 +0100
committerMarc Mutz <>2016-02-29 07:57:51 +0000
commitbe84480785b9686dc09937fa33b685de7cc570f1 (patch)
treeecfce6d5214095cc82d3c96df38cd07b4b7add18 /src/corelib
parenta7885c9756d423042bd0670d82d78d8dffe9be54 (diff)
QtTest: eradicate all Q_FOREACH loops
... by replacing them with C++11 ramge-for loops. In one case, I took the liberty to remove a useless if(isEmpty()) check around a for loop. Now that we don't use Q_FOREACH anymore, we don't incur the copy for empty containers anymore. Left the indention of the loop level to avoid code churn. Saves 1.8KiB in text size on optimized GCC 5.3 Linux AMD64 builds. Change-Id: I1b1fb34847f6a631f0d580fd5261c7f5fed8475c Reviewed-by: Olivier Goffart (Woboq GmbH) <>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions