diff options
| author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-04-19 17:28:44 +0200 |
|---|---|---|
| committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-04-20 12:58:39 +0000 |
| commit | 474b8ec5c088555fc2d85bd577db98e1a936b7cc (patch) | |
| tree | bf57835a45779a1cd3f63ccbd40b35eefd974ba6 /tests/unit | |
| parent | 5dc690f234ec7bb5dcdb11a610a4ecbee6dc4d64 (diff) | |
| download | qt-creator-474b8ec5c088555fc2d85bd577db98e1a936b7cc.tar.gz | |
C++: Fix expensive parsing of declarations
...which can occurr for e.g. files with a high difference of opening and
closing curly braces and many structs.
Make use of the ASTCache for parseSimpleDeclaration() and
parseMemberSpecification(). Those two were the most recurring calls for
the code provided in the bug report.
Task-number: QTCREATORBUG-16049
Change-Id: I13cc7fba2fb6c3be863690a222c8bbfeacbddc05
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'tests/unit')
0 files changed, 0 insertions, 0 deletions
