summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2016-04-19 17:28:44 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2016-04-20 12:58:39 +0000
commit474b8ec5c088555fc2d85bd577db98e1a936b7cc (patch)
treebf57835a45779a1cd3f63ccbd40b35eefd974ba6 /tests/unit
parent5dc690f234ec7bb5dcdb11a610a4ecbee6dc4d64 (diff)
downloadqt-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