diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-07 16:28:44 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2017-09-12 06:46:29 +0000 |
commit | f2e5e220090a88d6d65bc1d417faae99a497a1db (patch) | |
tree | e573e8595c63c499b3a4408ebff87352a6ca5c82 /src/plugins/help | |
parent | d85e9bbe2f8bf3d6a19e558c4e34e08ba9489eed (diff) |
Clang: Avoid waiting plugin side if (re)parse fails
If a parse or reparse operation fails, the corresponding translation
unit is "not intact" anymore and further job requests for that
translation unit will be silently discarded without notifying the
plugin. This is especially problematic when the plugin expects/waits
(for) a certain message.
A parse/reparse can fail due to e.g. an invalid commandline or an
internal crash.
In such a case, ensure to send some dummy results.
Task-number: QTCREATORBUG-18864
Change-Id: Ida9b8066fd55e64027a9b0d8bd5cf365b16a7356
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/help')
0 files changed, 0 insertions, 0 deletions