diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-10-14 13:05:44 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-10-18 11:39:01 +0000 |
commit | 4fbdbdb1ee382a582035a4e9256ca2b7d4f3b943 (patch) | |
tree | cfdd0a07c7193211f98261c2b4147a6e5621297c /src/plugins/cpptools/compileroptionsbuilder.cpp | |
parent | d29781fcd81decfb62aed0de5e2947f9f6f47dca (diff) | |
download | qt-creator-4fbdbdb1ee382a582035a4e9256ca2b7d4f3b943.tar.gz |
Clang: Fix delayed reparse of dirty and visible but not current documents
1. Open document foo.h
2. Create a split and open foo.cpp (#including "foo.h")
3. Edit foo.h (e.g. by introducing a syntax error, so that foo.cpp will
indicate header errors in the toolbar or as info bar)
=> Actual: foo.cpp will be reparsed immediately.
Expected: foo.cpp should be reparsed after a delay.
This saves resources (cpu time) and minimizes poping up of the header
info bar while editing header files in splits.
Regression introduced by
commit 380d756a03346e5bbb83101f49ed6f6696c42c6a
Clang: Hook up supportive translation unit on first edit
Change-Id: Ib5fd90e49415dfc3aefacab7cd627b0e1937f5fc
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions