execute some loops even in cumulative mode
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Fri, 9 Aug 2013 10:17:11 +0000 (12:17 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 19 Aug 2013 13:41:02 +0000 (15:41 +0200)
commit23717f80cd0f2e6a63aaabc1f62a377d13f76540
treed69ec975a618f180ca4b1a279c0b20661be77440
parent3f67fd3cbfe6804614dc5be7c64bef2fa8af180a
execute some loops even in cumulative mode

we execute foreach loops now. this is (mostly) safe nowadays, because
a previous change added precautions against exponential value list
growth, so it's unlikely that two nested loops would keep the cpu busy
for a day as before.

we continue to exclude forever loops and loops with excessive integer
counts.

Task-number: QTBUG-8550
Change-Id: Iaa116086986cc7fd5023834753f791dd205102e5
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
(cherry picked from qttools/dd4d594c787a62fa8aa12695c5d115c71b59bacd)
tests/auto/linguist/lupdate/testdata/good/proparsingpri/project.pro
tools/linguist/shared/profileevaluator.cpp