diff options
author | Kai Pastor <dg0yt@darc.de> | 2016-05-27 07:25:32 +0200 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2016-05-27 08:56:15 +0000 |
commit | abcb49adcc640817b37d4ba8f0c10712a857d434 (patch) | |
tree | 64de77aa51332aa0a38f828437de0f7e6af80f94 /src/designer/src/lib/shared/qdesigner_dnditem.cpp | |
parent | e0edc350632e6f311548cac2831a60f3b9e4dbda (diff) |
lupdate: Fix parsing of class template specializations
4ea581c95ae9704b250591c5d4d9b0517f5b62f2 introduced a bug where
class template specialization would lead to contexts not being properly
cleaned up on '}'. The occurrence of class template specializations
lead to a massive slowdown in parsing following includes because they
were treated as direct (in-namespace) and parsed more often than
normally needed.
Unfortunately the bug was not discovered early by the auto tests,
but eventually the slowdown appeared in CI when merging to dev.
This change adds a test for class template specializations. It would
discover the cause (broken context) which triggers the slowdown but
doesn't depend on includes.
Task-number: QTBUG-53644
Change-Id: I94cce58702b53dfb5e0f9c92585222dd3f938593
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/designer/src/lib/shared/qdesigner_dnditem.cpp')
0 files changed, 0 insertions, 0 deletions